pt2to3 - PyTables 2.x -> 3.x API transition tool.
Contents
Description
This tool displays to standard out, so it is common to pipe this to another file: $ pt2to3 oldfile.py >
newfile.py.
Name
pt2to3 - PyTables 2.x -> 3.x API transition tool.
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.
-oOUTPUT
Output file to write to..
-i,--inplace
Overwrites the file in-place.
-h Print help on usage.
See Also
ptrepack(1),ptdump(1). These utilities are documented fully by PyTablesuser'smanual.
Synopsis
pt2to3 [ OPTIONS ] filename
