擅长:python、mysql、java
<p>它应该在Python 3.3安装和更高版本的根目录中。它不适用于Python2。</p>
<p>转到C:\ PythonXX\您应该找到您的版本的py.exe。</p>
<p>在命令提示符或您最喜欢的shell(如Cygwin)中,运行:</p>
<pre><code>py -3.3 -m path/to/myscript.py
</code></pre>
<p>但是,这仅在安装了3.3或更高版本时有效。</p>
<p>编辑:Python不附带Python启动器。它只适用于ActiveState、标准版或其他许多安装。</p>
<p>EDIT2:这里有两个全新的,Python 3.4安装的ActiveState Python和Anaconda Python,截图。注意Anaconda Python不包含py.exe和许多其他(非必需的)可执行文件吗?</p>
<p><img src="https://i.stack.imgur.com/sdEwc.png" alt="Anaconda Install"/>
<img src="https://i.stack.imgur.com/Qjg3L.png" alt="ActiveState Install"/></p>
<p>EDIT3:经过一些“困难”的测试后,只需将anaconda设置为Python3.4的默认安装,并从另一个安装中获取py.exe。仅此而已。因此,您可以从另一个源安装Python3.4,卸载它,并保存py.exe,确保它位于系统路径中,并且python启动程序已完全安装。</p>
<p>EDIT4:实际上这里还有一个独立的安装程序:
<a href="https://bitbucket.org/vinay.sajip/pylauncher/downloads" rel="nofollow noreferrer">https://bitbucket.org/vinay.sajip/pylauncher/downloads</a></p>