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

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

src/p/i/pipobot-modules-HEAD/botmpd/libmpd/BotMPD.py   pipobot-modules(Download)
    def __init__(self, host, port, password, datadir=None):
        self.token = threading.Lock()
        MPDClient.__init__(self)
        if not self.connection(host, port, password):
            self.disconnect()

src/p/y/Pythagora-HEAD/mpdunicode.py   Pythagora(Download)
    def __init__(self):
        self._cache = {}
        MPDClientBase.__init__(self)
        if hasattr(MPDClientBase, '_writecommand'):
            self._commands.update({'rescan': self._getitem

src/d/y/DynaMPD-HEAD/dynampd.py   DynaMPD(Download)
    def __init__(self):
        import os, optparse, ConfigParser
        from StringIO import StringIO
 
        mpd.MPDClient.__init__(self)

src/p/y/Pythagora-HEAD/mpdthreaded.py   Pythagora(Download)
        self.queue = Queue.PriorityQueue(256)
        self._lock = threading.Lock()
        MPDClientBase.__init__(self)
        self.connecting = False
        self.exit = False