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)
                port=self.socks_port
            )
            sc_prefs.save()
 
            logging.info("Successfully updated SOCKS proxy setting")

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:
        print >> sys.stderr, exc.message

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:
        print >> sys.stderr, exc.message