查看python编码

1 # 查看python编码
2 import sys
3 print(sys.getdefaultencoding())

原文地址:https://www.cnblogs.com/shcsw/p/14007457.html