SyntaxError: Non-ASCII character '**' in file, but no encoding declared;
SyntaxError: Non-ASCII character '\xe3' in file hello.py on line 12, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
Define a source code encoding
#!/usr/bin/python
# coding=utf-8
Written by momoto
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Python
Authors
Related Tags
#python
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#