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

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

src/p/y/pymacadmin-HEAD/examples/crankd/socks-proxy/ProxyManager.py   pymacadmin(Download)
 
from PyMacAdmin import crankd
from PyMacAdmin.SCUtilities.SCPreferences import SCPreferences
 
class ProxyManager(crankd.handlers.BaseHandler):
        """
        # Open a SystemConfiguration preferences session:
        sc_prefs = SCPreferences()
 
        # We want to enable the server when our hostname is not on the corporate network:

src/p/y/pymacadmin-HEAD/bin/set-proxy.py   pymacadmin(Download)
"""
 
from PyMacAdmin.SCUtilities.SCPreferences import SCPreferences
from socket import gethostbyname, gaierror
import sys
 
 
def main():
    sc_prefs = SCPreferences()

src/p/y/PyMacAdmin-1.0/bin/set-proxy.py   PyMacAdmin(Download)
"""
 
from PyMacAdmin.SCUtilities.SCPreferences import SCPreferences
from socket import gethostbyname, gaierror
import sys
 
 
def main():
    sc_prefs = SCPreferences()