Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (9 sloc) 0.246 kb
import sys
from diesel import quickstart
from diesel.util.streams import create_line_input_stream
def consume():
q = create_line_input_stream(sys.stdin)
while True:
v = q.get()
print 'DIESEL GOT', v
quickstart(consume)
Jump to Line
Something went wrong with that request. Please try again.