Python2和Python3 编码问题

Python 2上面 如果需要支持utf -8 编码,需要在编写是头部加上那个

    #coding:utf-8 或者 #!-*- coding:utf-8 -*-;

猜你喜欢

转载自blog.csdn.net/qq_36206652/article/details/80212922