I have some code in python 2.7 and I want to convert it all into python 3.3 code. I know 2to3 can be used but I am not sure exactly how to use it.
On Windows:
python {path_to_python}\tools\scripts\2to3.py --output-dir={output_dir} -W -n {input_dir}
path_to_python = directory where Python is installed
path_to_python
output_dir = directory where to output the Python3 scripts
output_dir
input_dir = directory from where to read the Python2 scripts
input_dir