摘要:
File "1.py", line 2SyntaxError: Non-ASCII character '\xe5' in file 1.py on line 2, but no encoding declared; see http://www.python.org/peps/pep-0263.h 阅读全文
摘要:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 0: ordinal not in range(128) 原因: python的 str 默认是ascii编码,和unicode编码冲突。 解决方法: 代码开头加 阅读全文