Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (9 sloc) 246 Bytes
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.