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

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

src/k/a/kamaelia-HEAD/Sketches/MPS/Examples/AIM/AIMBot.py   kamaelia(Download)
    def main(self):
 
        while not self.dataReady("control"):
            for message in self.Inbox("from_user"):
                 message = cgi.escape(message,1)
            if not self.anyReady():
                self.pause()
        if self.dataReady("control"):
            self.send(self.recv("control"), "signal")
        else:

src/k/a/kamaelia-HEAD/Sketches/MPS/Examples/AIM/MultiAIMBot.py   kamaelia(Download)
    def main(self):
        print "STARTED AIMUserTalkAdapter"
        while not self.dataReady("control"):
            for message in self.Inbox("from_user"):
                 message = cgi.escape(message,1)
 
        print "EXITED AIMUserTalkAdapter"
        if self.dataReady("control"):
            print "GOT CONTROL MESSAGE"
            self.send(self.recv("control"), "signal")

src/k/a/kamaelia-HEAD/Sketches/MPS/BugReports/FixTests/Kamaelia/Examples/UsingChassis/Pipeline/Feedback.py   kamaelia(Download)
    def main(self):
        model = "B"
        while not self.dataReady("control"):
            self.send( model, "outbox")
            for i in self.Inbox("inbox"):

src/k/a/kamaelia-HEAD/Code/Python/Kamaelia/Examples/UsingChassis/Pipeline/Feedback.py   kamaelia(Download)
    def main(self):
        model = "B"
        while not self.dataReady("control"):
            self.send( model, "outbox")
            for i in self.Inbox("inbox"):

src/k/a/kamaelia-HEAD/Sketches/MPS/BugReports/FixTests/Kamaelia/Examples/UsingChassis/PAR/par_shutdown_simple.py   kamaelia(Download)
    def main(self):
        while not self.dataReady("control"):
            print self.name, "Still waiting"
            time.sleep(1)
 

src/k/a/kamaelia-HEAD/Sketches/MPS/BugReports/FixTests/Kamaelia/Examples/UsingChassis/Graphline/LinkedShutdown.py   kamaelia(Download)
    def main(self):
        while not self.dataReady("control"):
            print "WHINGER: waiting for shutdown"
            time.sleep(1)
        print "WHINGER: shutdown"

src/k/a/kamaelia-HEAD/Sketches/MPS/BugReports/FixTests/Kamaelia/Examples/UsingChassis/Graphline/FailShutdown.py   kamaelia(Download)
    def main(self):
        while not self.dataReady("control"):
            print "WHINGER: waiting for shutdown"
            time.sleep(1)
        print "WHINGER: shutdown"

src/k/a/kamaelia-HEAD/Sketches/MPS/BugReports/FixTests/Kamaelia/Examples/UsingChassis/Graphline/DemoShutdown.py   kamaelia(Download)
    def main(self):
        while not self.dataReady("control"):
            print "WHINGER: waiting for shutdown"
            time.sleep(1)
        print "WHINGER: shutdown"

src/k/a/kamaelia-HEAD/Code/Python/Kamaelia/Examples/UsingChassis/PAR/par_shutdown_simple.py   kamaelia(Download)
    def main(self):
        while not self.dataReady("control"):
            print self.name, "Still waiting"
            time.sleep(1)
 

src/k/a/kamaelia-HEAD/Code/Python/Kamaelia/Examples/UsingChassis/Graphline/LinkedShutdown.py   kamaelia(Download)
    def main(self):
        while not self.dataReady("control"):
            print "WHINGER: waiting for shutdown"
            time.sleep(1)
        print "WHINGER: shutdown"

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next