上一页 1 ··· 133 134 135 136 137 138 139 140 141 ··· 203 下一页
摘要: C:\Users\horn1\Desktop\python\49-geo>pip install geocoder Collecting geocoder Downloading https://files.pythonhosted.org/packages/4f/6b/13166c909ad2f2 阅读全文
posted @ 2018-05-15 09:50 逆火狂飙 阅读(690) 评论(0) 推荐(0)
摘要: 代码: import hashlib import base64 hash = hashlib.md5() hash.update('逆火Tu22m'.encode('utf-8')) print(hash.hexdigest()) hash = hashlib.sha1() hash.update 阅读全文
posted @ 2018-05-14 08:18 逆火狂飙 阅读(1216) 评论(0) 推荐(0)
摘要: 作者:于洋链接:https://www.zhihu.com/question/23374078/answer/69732605来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 很久很久以前,有一群人,他们决定用8个可以开合的晶体管来组合成不同的状态,以表示世界上的万物。 阅读全文
posted @ 2018-05-14 06:43 逆火狂飙 阅读(206) 评论(0) 推荐(0)
摘要: 代码: import hashlib hash = hashlib.md5() hash.update('http://www.cnblogs.com/xiandedanteng'.encode('utf-8')) print(hash.hexdigest()) hash = hashlib.sha 阅读全文
posted @ 2018-05-13 22:44 逆火狂飙 阅读(418) 评论(0) 推荐(0)
摘要: 代码: # # torrentParser1.04,用于解析torrent文件 # 增加了函数getMegnet,能将种子文件转磁力链 # 2018年5月13日 # from bencode import bdecode,bencode import time import hashlib impo 阅读全文
posted @ 2018-05-13 16:29 逆火狂飙 阅读(6684) 评论(0) 推荐(0)
摘要: 常用代码,单拎出来以备查。 对象存json文件: import json obj={'name':'张有财','age':39,'arr':[2,34,5,6,7,88,'李有钱']} with open('./obj.json','w',encoding='utf-8') as fObj: jso 阅读全文
posted @ 2018-05-13 14:43 逆火狂飙 阅读(1437) 评论(0) 推荐(0)
摘要: # Python里对象赋值传递的引用 arr=[1,2,3,4,5] newArr=arr arr[1]=9 print('arr='+str(arr)) print('newArr='+str(newArr)) print('这里可以看出newArr实际是arr的引用') # 要拷贝需要用copy 阅读全文
posted @ 2018-05-13 12:04 逆火狂飙 阅读(634) 评论(0) 推荐(0)
摘要: 使用幂函数和指数函数的知识解决问题:“已知:a=2^4/3,b=4^2/5,c=25^1/3,求:a,b,c三者的大小关系”,并用Canvas绘图验证之。 阅读全文
posted @ 2018-05-13 11:03 逆火狂飙 阅读(161) 评论(0) 推荐(0)
摘要: 用chrome浏览器就能办到 现在,你还为下载不到满意的音乐而苦恼吗? 阅读全文
posted @ 2018-05-10 21:25 逆火狂飙 阅读(417) 评论(0) 推荐(0)
摘要: 原来的文件大小,类型,修改日期,创建日线都没了,怎么办? 右键点击名称,标题,艺术家那一行,在右键菜单中,去掉没用的,勾选有用的,如下图: 阅读全文
posted @ 2018-05-10 14:41 逆火狂飙 阅读(1892) 评论(0) 推荐(0)
上一页 1 ··· 133 134 135 136 137 138 139 140 141 ··· 203 下一页
生当作人杰 死亦为鬼雄 至今思项羽 不肯过江东