在网上看了很普遍的关于这方面的教程,想写一个“heloworld”试试,出现了下面截图上的问题,由于是新手,摸不着头脑,所以请各位帮忙看一下。
SyntaxError: Non-ASCII character '\xc4' in file C:\Users\Unravel\workspace\HelloWorld\helloworld.py on line 3, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
可以了!谢谢,请问是为什么?
追答你开头注视里,带有日期中含有中文,有乱码
本回答被提问者采纳