[BangPypers] Python's stdin buffer size
noufal at gmail.com
Wed Dec 21 16:15:55 CET 2011
Amit Sethi <amit.pureenergy at gmail.com> writes:
> Hi , I am trying to read in a large message piped to a python script.
> The message would have something like 1000 words . How can one
> increase the buffer size of sys.stdin in python.
What's the problem with just a
body = sys.stdin.read()
and then processing body?
All generalisations are dangerous, including this one.
More information about the BangPypers