Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/p/y/pymacadmin-HEAD/examples/crankd/socks-proxy/ProxyManager.py   pymacadmin(Download)
        try:
            sc_prefs.set_proxy(
                enable=new_state,
                protocol='SOCKS',
                server=self.socks_server,

src/p/y/pymacadmin-HEAD/bin/set-proxy.py   pymacadmin(Download)
 
    try:
        sc_prefs.set_proxy(enable=options.enable, protocol=options.protocol, server=options.server, port=options.port)
        sc_prefs.save()
    except RuntimeError, exc:

src/p/y/PyMacAdmin-1.0/bin/set-proxy.py   PyMacAdmin(Download)
 
    try:
        sc_prefs.set_proxy(enable=options.enable, protocol=options.protocol, server=options.server, port=options.port)
        sc_prefs.save()
    except RuntimeError, exc: