SYNOPSIS
pt2to3 [ OPTIONS ] filenameDESCRIPTION
This tool displays to standard out, so it is common to pipe this to another file: $ pt2to3 oldfile.py > newfile.py.
OPTIONS
A summary of options is included below.- -r, --reverse
- Reverts changes, going from 3.x -> 2.x.
- -p, --no-ignore-previous
- Ignores previous_api() calls.
- -o OUTPUT
- Output file to write to..
- -i, --inplace
- Overwrites the file in-place.
- -h
-
Print help on usage.