 |
Cheat Sheet: Writing Python 2-3 compatible code — Python-Future documentation
The futurize and python-modernize tools do not currently offer an option to do this automatically. If you are writing code for a new project or new codebase, you can use this idiom to make all string literals in a module unicode strings:
python-future.org |
 |