摘要:
#-------------------------------------------------------------------------------# Name: module1# Purpose:## Licence: <your licence>#-------------------------------------------------------------------------------import io, sys, time, re, os, randomimport winregimport win32gui, win32con, wi... 阅读全文
posted @ 2012-06-15 19:18
方倍工作室
阅读(3587)
评论(4)
推荐(0)
摘要:
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 阅读全文
posted @ 2012-06-15 18:16
方倍工作室
阅读(2023)
评论(0)
推荐(0)
浙公网安备 33010602011771号