擅长:python、mysql、java
<p>2to3实际上是一个Python脚本,位于Python安装的Tools/scripts文件夹中。</p>
<p>所以你应该这样运行它:</p>
<pre><code>python.exe C:\Python32\Tools\scripts\2to3.py your-script-here.py
</code></pre>
<p>有关更多详细信息,请参见以下内容:<a href="http://docs.python.org/library/2to3.html" rel="noreferrer">http://docs.python.org/library/2to3.html</a></p>