NAME

2to3-2.7 – Python2 to Python3 converter  

SYNOPSIS

2to3 [options] file|dir …  

OPTIONS

-h, –help show this help message and exit

-d, –doctests_onlyFix up doctests only-f FIX, –fix=FIXEach FIX specifies a transformation; default: all-j PROCESSES, –processes=PROCESSESRun 2to3 concurrently-x NOFIX, –nofix=NOFIXPrevent a transformation from being run-l, –list-fixesList available transformations-p, –print-functionModify the grammar so that print() is a function-v, –verboseMore verbose logging–no-diffsDon’t show diffs of the refactoring-w, –writeWrite back modified files-n, –nobackupsDon’t write backups for modified files

Willie has over 15 years of experience in Linux system administration and DevOps. After managing infrastructure for startups and enterprises alike, he founded Command Linux to share the practical knowledge he wished he had when starting out. He oversees content strategy and contributes guides on server management, automation, and security.