python - error when using tkinter + sqlite3 -
I'm trying to use sqlite3 in a guinea here, and when I'm using geo Try to compile the code, return this error
file "/home/armando/Documents/curso/python_projects/sqlite3.py", line 3 syntax error: non-ASCII Python_projects / sqlite3.py on character '\ xc3' file / home / armando / document 3 / line / 3, but no encoding is declared; How can I solve it?
Thanks P> Light and Peace!
see p. 263 -
You must declare your source at the top of the module Your encoding:
#! / Usr / bin / python # - * - coding: utf-8 - * - Replace UTF-8 with the encoding that you saved the file.
Comments
Post a Comment