Re: [BangPypers] Python's stdin buffer size

2011-12-21 Thread Senthil Kumaran
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

Re: [BangPypers] Python's stdin buffer size

2011-12-21 Thread Noufal Ibrahim
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

[BangPypers] Python's stdin buffer size

2011-12-21 Thread Amit Sethi
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. -- A-M-I-T S|S ___ BangPypers mailing list BangPypers@python.org http