Recently, because the project needs to use PYTHON script, I quickly learned it. I encountered a problem today and took notes. An error like "Non-UTF-8 code starting with 'xb6' in file xxxxx.py" appears. The cause of the error is explained online: it is a file encoding problem of PYTHON, so according to the official prompt, you need to add #coding = you The encoding to specify.
Secondly, during the debugging process, I found that the statement to convert the file encoding:
#coding = utf-8