python2 编码问题万能钥匙

import sys,MySQLdb
reload(sys)
sys.setdefaultencoding('utf-8')

  

posted @ 2020-12-09 16:24  vekair  阅读(66)  评论(0)    收藏  举报