01 2024 档案
摘要:python获取ie选项中设置的代理 import winreg def getproxy(): xpath = "Software\Microsoft\Windows\CurrentVersion\Internet Settings" try: key = winreg.OpenKey(winre
阅读全文
摘要:Python生成随机验证码,需要使用PIL模块. 安装: pip3 install pillow 基本使用 1. 创建图片 from PIL import Image img = Image.new(mode='RGB', size=(120, 30), color=(255, 255, 255))
阅读全文