bug1:
yntaxError: Non-ASCII character '\\xe6' in file ex3.py on line 3, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
~/Dev/python $ python ex3.py
头部添加
#!/usr/bin/python
# vim: set fileencoding=utf-8
bug1:
yntaxError: Non-ASCII character '\\xe6' in file ex3.py on line 3, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
~/Dev/python $ python ex3.py
头部添加
#!/usr/bin/python
# vim: set fileencoding=utf-8
本文标题:python
本文链接:https://www.haomeiwen.com/subject/vlssdttx.html
网友评论