如果需要显示中文或其他外语,需要在首行添加:#-- coding:utf-8 --
否则类似报错:SyntaxError: Non-ASCII character ‘\xe8’ in file exl.py on line 9, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
如果需要显示中文或其他外语,需要在首行添加:#-- coding:utf-8 --
否则类似报错:SyntaxError: Non-ASCII character ‘\xe8’ in file exl.py on line 9, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details