自动将 Python 2 代码转换成 Python 3. 更多信息:https://docs.python.org/3/library/2to3.html.
2to3 {{文件.py}}
2to3 --write {{文件.py}}
2to3 --write {{文件.py}} --fix={{raw_input}} --fix={{print}}
2to3 --write {{文件.py}} --nofix={{has_key}} --nofix={{isinstance}}
2to3 --list-fixes
2to3 --output-dir={{Python 3 文件夹}} --write-unchanged-files --nobackups {{Python 2 文件夹}}
2to3 --processes={{4}} --output-dir={{Python 3 文件夹}} --write --nobackups --no-diff {{Python 2 文件夹}}