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/k/a/kamaelia-HEAD/Sketches/PT/likefile/likefile.py   kamaelia(Download)
        self.isDead = inputHandler.isDead
        self.deathbox = self.addInbox(str(id(self)))
        self.link((inputHandler, inputHandler.deathbox), (self, self.deathbox))
 
        # This sets up the linkages between us and our child, avoiding extra
        for childSource, parentSink in self.childOutboxMapping.iteritems():
            self.outQueues[childSource] = Queue.Queue(self.queuelengths)
            self.link((self.child, childSource),(self, parentSink))
 
    def main(self):

src/k/a/kamaelia-HEAD/Sketches/MPS/Experiments/Likefile2/LikeFile.py   kamaelia(Download)
        self.isDead = inputHandler.isDead
        self.deathbox = self.addInbox(str(id(self)))
        self.link((inputHandler, inputHandler.deathbox), (self, self.deathbox))
 
        # This sets up the linkages between us and our child, avoiding extra
        for childSource, parentSink in self.childOutboxMapping.iteritems():
            self.outQueues[childSource] = Queue.Queue(self.queuelengths)
            self.link((self.child, childSource),(self, parentSink))
 
    def main(self):