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

All Samples(29)  |  Call(16)  |  Derive(0)  |  Import(13)

src/k/a/kamaelia-HEAD/Sketches/MPS/pprocess/ProcessPipelineNotComponent.py   kamaelia(Download)
  def run(self, channel):
    self.exchange.add(channel)
    self.channel = channel
    from Axon.LikeFile import likefile, background
    background(zap=True).start()
    time.sleep(0.1)
 
    self.ce = likefile(self.C)

src/k/a/kamaelia-HEAD/Sketches/MPS/pprocess/MultiPipeline.py   kamaelia(Download)
    def run(self, channel):
        self.exchange.add(channel)
        self.channel = channel
#        print "ZZZZZZZZ"
        from Axon.LikeFile import likefile, background
#        print "Here???"
 
        self.ce = likefile(self.thecomponent)
        for i in self.main():
            pass

src/k/a/kamaelia-HEAD/Sketches/MPS/HTTP/demo_http.py   kamaelia(Download)
import socket
 
from Axon.LikeFile import likefile, background
from Kamaelia.Protocol.HTTP.HTTPClient import SimpleHTTPClient
background().start()
    def main(self):
        uri = self.request.get('uri-suffix',"/")
        p = likefile( SimpleHTTPClient() )
        p.put("http://kamaelia.sourceforge.net/%s" % uri)
        pagedata= p.get()

src/k/a/kamaelia-HEAD/Sketches/PO/testingMulticore/pprocess/ProcessPipelineNotComponent.py   kamaelia(Download)
  def run(self, channel):
    self.exchange.add(channel)
    self.channel = channel
    from Axon.LikeFile import likefile, background
    background(zap=True).start()
    time.sleep(0.1)
 
    self.ce = likefile(self.C)

src/k/a/kamaelia-HEAD/Sketches/PO/testingMulticore/pprocess/MultiPipeline.py   kamaelia(Download)
    def run(self, channel):
        self.exchange.add(channel)
        self.channel = channel
#        print "ZZZZZZZZ"
        from Axon.LikeFile import likefile, background
#        print "Here???"
 
        self.ce = likefile(self.thecomponent)
        for i in self.main():
            pass