-
-
Save azhtom/8ad0770e696fc9feba24 to your computer and use it in GitHub Desktop.
fix default encoding python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
encoding = 'utf-8' | |
reload(sys) | |
sys.setdefaultencoding(encoding) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment