Python 2to3 windows CMD

前端 未结 3 547
臣服心动
臣服心动 2021-02-03 22:14

I have installed python 32 package to the

C:\\python32

I have also set the paths:

PYTHONPATH | C:\\Python32\

3条回答
  •  灰色年华
    2021-02-03 22:38

    2to3 is actually a Python script found in the Tools/scripts folder of your Python install.

    So you should run it like this:

    python.exe C:\Python32\Tools\scripts\2to3.py your-script-here.py
    

    See this for more details: http://docs.python.org/library/2to3.html

提交回复
热议问题