Python2 and Python3 encoding issues

If you need to support utf-8 encoding on Python 2, you need to add that to the head of the writing

    #coding:utf-8 or #!-*- coding:utf-8 -*-;

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325730807&siteId=291194637