随笔分类 - python
摘要:安装 setuptools 出现 UnicodeDecodeError文件 Lib/mimetypes.py 中的 bug, 通过以下 patch 修复:Index: Lib/mimetypes.py===================================================================--- Lib/mimetypes.py (revision 85786)+++ Lib/mimetypes.py (working copy)@@ -27,6 +27,7 @@import sysimport posixpathimport urllib+from
阅读全文
摘要:How to convert a QString to unicode object in python 2?I had this problem to solve, and I tried to find the safest way. This program illustrates the solutionfrom PyQt4 import QtCore, QtGui ...
阅读全文
浙公网安备 33010602011771号