On Wed, Dec 21, 2011 at 7:43 PM, Amit Sethi
wrote:> 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.
For 1000 words, your python program wont have any problem. PIP
Amit Sethi 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 bod