![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
心系蝶相印
心中是三月,何处不芬芳。
展开
-
list编码问题python-2.7
list为Unicode编码,这样中文输出为Unicode编码我们可以将list转换为字符串,这样就可以转换编码,输出字符了。# coding:utf-8list = ["吃饭没", "睡觉没"]str = ""+list[0]str = str.decode("utf-8")print "直接输出list: ".decode("utf-8"), listprin原创 2017-08-14 09:41:11 · 1402 阅读 · 0 评论 -
pycharm updating indices ingdexing paused during power save model
pycharm updating indices ingdexing paused during power save model并且无法run问题很奇怪,当天电脑卡成类似这种颜色的,,很奇怪,居然不是蓝屏之后pycharm 出现问题,百度了,Google了,解决方法均为重装重启均无法解决,换新版本即可...原创 2018-06-17 10:16:08 · 639 阅读 · 0 评论