Python 常见错误 1.UnicodeEncodeError: 'ascii' codec can't encode characters in position 解决: import sys reload(sys) sys.setdefaultencoding( "utf-8" )