Readling all input from stdin

Svenne Krap usenet2003 at krap.dk
Mon Jul 28 07:25:33 EDT 2003


Hi.

I am writing a small script, that is called from an external program 
(the qmail mailserver), I need to capture all input from stdin before 
continueing the script ..

I looked for sys.stdin.readlines() but that is not present. I found 
sys.stdin.readline(), but how do I loop through it (or rather how do I 
know, when I am finished with looping ?)

Thanks in advance

Svenne





More information about the Python-list mailing list