Lichen

tests/read_stream.py

612:97ec110d65cf
2017-02-23 Paul Boddie Added a "reset all" option removing the data directory. Added option synonyms. method-wrapper-for-context
     1 from sys import stdin     2      3 print "Reading 10 bytes..."     4 s = stdin.read(10)     5 print s     6      7 print "Reading to end of file..."     8 s = stdin.read()     9 print s