摘要: import sysreload(sys)sys.setdefaultencoding('utf-8') 阅读全文
posted @ 2017-10-25 20:51 HeJD 阅读(371) 评论(0) 推荐(0) 编辑
摘要: 01字符串 与 将 01字符串转换为数字的效率对比 用例: 字符串’1001’ 与 0b1001=9import timestarttime=time.time()for i in xrange(1000001): '10000001'=='1... 阅读全文
posted @ 2017-10-25 20:46 HeJD 阅读(154) 评论(0) 推荐(0) 编辑