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

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

src/k/a/kamaelia-HEAD/Sketches/PT/likefile/axon_only_example.py   kamaelia(Download)
    line = sys.stdin.readline().rstrip() # get rid of the newline
    reverser.put(line)
    enil = reverser.get()
    print enil

src/k/a/kamaelia-HEAD/Sketches/PT/likefile/usecases/simplehttpclient.py   kamaelia(Download)
p.put("http://slashdot.org")
p.put("http://whatismyip.org")
google = p.get()
slashdot = p.get()
whatismyip = p.get()

src/k/a/kamaelia-HEAD/Sketches/PT/likefile/usecases/simpleoggradioplayer.py   kamaelia(Download)
# Play the ogg data in the background
while True:
    data = client.get()
    filedump.write(data)
    # log the stream to disk

src/k/a/kamaelia-HEAD/Sketches/PT/likefile/usecases/simpleoggdecoder.py   kamaelia(Download)
playStream.put(oggdata)
while True:
    playStream.get()
    # there's no data produced but this will prevent us from exiting immediately.
 

src/k/a/kamaelia-HEAD/Sketches/PT/likefile/usecases/mediumtcpclient.py   kamaelia(Download)
while True:
    echoClient.put(raw_input(">>> "))
    print echoClient.get()