python

作者: 面试小集 | 来源:发表于2016-06-20 23:40 被阅读67次

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