擅长:python、mysql、java
<p>您可以使用<code>subprocess.call</code>。比如:</p>
<pre><code>subprocess.call(["mailx", "-s", "\"Test Python\"", "mymail@mycomopany.com"])
</code></pre>
<p>详情<a href="http://docs.python.org/library/subprocess.html#convenience-functions" rel="nofollow noreferrer">here</a></p>