تبدیل خودکار کد پایتون نسخه 2 به 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={{مسیر/به/پوشه_پایتون_3}} --write-unchanged-files --nobackups {{مسیر/به/پوشه_پایتون_2}}
2to3 --processes={{4}} --output-dir={{مسیر/به/پوشه_پایتون_3}} --write --nobackups --no-diff {{مسیر/به/پوشه_پایتون_2}}