- 博客(1)
- 资源 (7)
- 收藏
- 关注
原创 python 的百分号格式化字符串操作, 易报编码错
今天同事问我下面的奇怪问题,写下来,希望初学者可以baidu到 #coding:utf-8 zh = "中文" # 这个是utf8编码 en = u'english' # 这个是unicode,注意带个u在前面 en2 = 'english' # 这个是utf8,不带u print '%s-%s' % (zh, en2) # 正常 print u'%s-%s' % (zh,
2012-07-05 18:34:04 2235
leveldb-0.1 for windows support XP.win32-py2.6.exe
leveldb-0.1 for windows support XP.win32-py2.6.exe
上次上传的一个版本不支持xp,此版本支持xp
2012-12-28
ujson-1.18.win32-py2.6.exe
ujson-1.18.win32-py2.6.exe python的json极速解释库,windows版
在我机子上跑出来的结果
D:\src\ujson-1.18\tests>python benchmark2.py
ujson decode : 404.85833 calls/sec
simplejson decode : 33.34445 calls/sec
cjson decode : 246.91360 calls/sec
ujson encode : 460.82948 calls/sec
simplejson encode : 4.23280 calls/sec
cjson encode : 87.03219 calls/sec
2012-06-14
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人