摘要: #coding:utf-8#官方3.0版本已经把urllib2,urlparse等五个模块都并入了urllib中from urllib import request import re,urllib,random,time def getHtml(url): headers = {'User-Age 阅读全文
posted @ 2019-05-06 19:55 xiaohe520 阅读(875) 评论(0) 推荐(0) 编辑
摘要: from wxpy import * from PIL import ImageGrab import os img_path_name='1.jpg' def jiepin(img_path=img_path_name): try: # 删除此文件 os.remove(img_path) except: print('无此文件:... 阅读全文
posted @ 2019-05-06 19:52 xiaohe520 阅读(175) 评论(0) 推荐(0) 编辑