I am using 2to3 to update some python2 code. Unfortunately there is some fixers I do not like:
For Python 2to3, how do you disable all fixers and only do one or two fixers? For example if you just want to run print fixer"?
You just have to do:
2to3 --fix print your_file.py
--fix, then all fixers are enabled.--fix then only those fixers you specify are processed.--nofix and no --fix, then all fixers are enabled and only the fixers you specify with --nofix are disabled.