Python coding problem
When compiling a Python program, I keep getting the "Non-ASCII character 'xe5' in file" error
Causes of problems:
Python is encoded in ASCII by default. If you include Chinese (or other non-English language) in your Python source code, even if you save your Python source file in UTF-8 format, in fact, this is still impossible.
The solution is simple, just add the following code at the beginning of the file
-- coding: UTF-8 --
Note: Insert on the first line of the document