Scroll to navigation

2TO3-2.7(1) User Commands 2TO3-2.7(1)

NAME

2to3-2.7 - Python2 to Python3 converter

SYNOPSIS

2to3 [options] file|dir ...

OPTIONS

show this help message and exit
Fix up doctests only
Each FIX specifies a transformation; default: all
Run 2to3 concurrently
Prevent a transformation from being run
List available transformations
Modify the grammar so that print() is a function
More verbose logging
Don't show diffs of the refactoring
Write back modified files
Don't write backups for modified files
January 2012 2to3-2.7 2.7