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

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

src/p/y/pymacadmin-HEAD/examples/crankd/MountManager.py   pymacadmin(Download)
from PyMacAdmin.crankd.handlers import BaseHandler
 
class MountManager(BaseHandler):
    def onNSWorkspaceDidMountNotification_(self, aNotification):
        path = aNotification.userInfo()['NSDevicePath']

src/p/y/pymacadmin-HEAD/examples/crankd/socks-proxy/ProxyManager.py   pymacadmin(Download)
class ProxyManager(crankd.handlers.BaseHandler):
    """
        crankd event handler which selectively enables a SOCKS process based
        on the current network address
    """