Created
July 14, 2019 19:54
-
-
Save technocake/b160da45c084396d68bee2be661e35c4 to your computer and use it in GitHub Desktop.
python encoding info
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 | |
default = sys.getdefaultencoding() | |
e_in = sys.stdin.encoding | |
e_out = sys.stdout.encoding | |
print(''' | |
python system default encoding: {} | |
stdin: {} | |
stdout: {} | |
'''.format(default, e_in, e_out) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment