Python 2.7使用utf-8读入文件

import codecs
f = codecs.open(filename, 'r', 'utf-8')

Powered by Jekyll and Theme by solid