摘要: 代码:#中文注释month = []报错内容:SyntaxError: Non-ASCII character '\xe4' in file date.py on line 1, but no encoding declared; seehttp://www.python.org/peps/pep-0263.html for details解决方法:在py文件第一行添加注释#encoding=utf-8#中文注释month = [] 阅读全文
posted @ 2013-04-03 10:31 Simple Happiness 阅读(1568) 评论(0) 推荐(0) 编辑