1#-*- coding:utf-8 -*-2importsys34reload(sys)5sys.setdefaultencoding('utf8')67physicsPath = u"D:\我的文档"89PRintphysicsPath
上面的方案 已经可以解决乱码;
在控制台和sublime text 中 都是可以通过的!