SyntaxError: Non-ASCII character ‘\xe5‘ in file [How to Solve]

When compiling Python today, I encountered an error in the code. Check the data to understand that the following code should be missing.

The error interface is shown in the figure below:

You can solve this problem by adding the following code to the python file (as shown below).

#!usr/bin/python
# -*- coding: utf-8 -*-

Read More: