upload
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
from winproxy import ProxySetting
|
||||
|
||||
|
||||
def close_proxy():
|
||||
ps = ProxySetting()
|
||||
"""关闭系统代理"""
|
||||
ps.enable = False
|
||||
ps.registry_write()
|
||||
print('代理已经关闭!')
|
||||
|
||||
close_proxy()
|
||||
Reference in New Issue
Block a user