encoding declare

SyntaxError: Non-ASCII character '\xe6' in file google.py on line 17, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for detailspython

 

Add the  # -*- coding: utf-8 -*-  line to the beginning of the file.google

e.g.spa

#!/usr/bin/env python # -*- coding: utf-8 -*- 
相關文章
相關標籤/搜索