Python 2to3 windows CMD

python

Solution

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

Problem

I have installed python 32 package to the C:\python32 I have also set the paths: PYTHONPATH | C:\Python32\Lib;C:\Python32\DLLs;C:\Python32\Lib\lib-tk; PATH ;C:\Python32; I would like to use the "2to3" tool, but CMD does not recognize it. ``` CMD: c:\test\python> 2to3 test.py ``` Should i add an extra path for "2to3" or something? Thanks

Original source