code conversion

python2 default encoding ascIII

  To represent Chinese, declare the encoding on the first line

  eg: #! -*- coding: utf-8 -*-    or    #!encoding:utf-8

     

python3 default encoding utf-8

Guess you like

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