Dr Andrew Scott G7VAV

My photo
 
April 2024
Mo Tu We Th Fr Sa Su
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 1 2 3 4 5
6 7 8 9 10 11 12


2TO3-2.7

Section: User Commands (1)
Updated: January 2012
Index Return to Main Contents
 

NAME

2to3-2.7 - Python2 to Python3 converter  

SYNOPSIS

2to3 [options] file|dir ...  

OPTIONS

-h, --help
show this help message and exit
-d, --doctests_only
Fix up doctests only
-f FIX, --fix=FIX
Each FIX specifies a transformation; default: all
-j PROCESSES, --processes=PROCESSES
Run 2to3 concurrently
-x NOFIX, --nofix=NOFIX
Prevent a transformation from being run
-l, --list-fixes
List available transformations
-p, --print-function
Modify the grammar so that print() is a function
-v, --verbose
More verbose logging
--no-diffs
Don't show diffs of the refactoring
-w, --write
Write back modified files
-n, --nobackups
Don't write backups for modified files


 

Index

NAME
SYNOPSIS
OPTIONS


for client 18.224.0.25
© Andrew Scott 2006 - 2024,
All Rights Reserved
http://www.andrew-scott.uk/
Andrew Scott
http://www.andrew-scott.co.uk/