摘要: 一、安装与简介 pip install threadpool 第一行定义了一个线程池,表示最多可以创建poolsize这么多线程; 第二行是调用makeRequests创建了要开启多线程的函数,以及函数相关参数和回调函数,其中回调函数可以不写,default是无,也就是说makeRequests只需 阅读全文
posted @ 2018-01-16 10:15 hylinux 阅读(1151) 评论(0) 推荐(0) 编辑
摘要: import hashlib # recursively calculate each element block's hashcode, and reorder the child nodes in the list basing on the hashcode # finally will get the ordered json object and overall hashcode ... 阅读全文
posted @ 2018-01-16 10:03 hylinux 阅读(4467) 评论(0) 推荐(0) 编辑