from __future__ import unicode_literals used

Copyright statement: Visitors can use the content or services provided by this blog for personal study, research or appreciation, as well as other non-commercial or non-profit purposes, but at the same time, they should abide by the provisions of copyright law and other relevant laws, and shall not infringe this The legal rights of the website and related rights holders. In addition, when using any content or services of this website for other purposes, you must obtain the explicit permission of this website and relevant rights holders in a timely manner. https://blog.csdn.net/qq_38262728/article/details/89057407
from __future__ import unicode_literals 

This code is designed to make the code written in the python2 version adapt to the new specification of python3.

If you write code in the python2 environment that will run in the python3 environment in the future, you can bring this statement.

The purpose of its implementation is to uniformly convert all current strings to unicode encoding format.

Some possible errors can be referred to:
https://blog.csdn.net/hyholine/article/details/54142263