經安全檢測,此網站為安全網站,請放心前往原始網址!

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

網址安全性掃描由 google 提供