摘要:
#-------------------------------------------------------------------------------# Name: module1# Purpose:## Licence: <your licence>#-------------------------------------------------------------------------------import io, sys, time, re, os, randomimport winregimport win32gui, win32con, wi... 阅读全文
摘要:
import io, sys, time, re, osimport winregdef enableProxy(IP, Port): proxy = IP + ":" + str(Port) xpath = "Software\Microsoft\Windows\CurrentVersion\Internet Settings" try: key = winreg.OpenKey(winreg.HKEY_CURRENT_USER, xpath, 0, winreg.KEY_WRITE) winreg.SetValueEx(key, "Prox 阅读全文