Add a comment Chinese python 3

Began to appear a error: Non-UTF-8 code starting with '\ xb0'

Python original default encoding format is a UTF-8, when the encoding format specified at the beginning of the need to add the following code

Beginning Add: # - - Coding: GB2312 - -

It can be.

Guess you like

Origin blog.51cto.com/14482033/2428252