Readling all input from stdin

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Svenne Krap

    Readling all input from stdin

    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.readl ines() but that is not present. I found
    sys.stdin.readl ine(), but how do I loop through it (or rather how do I
    know, when I am finished with looping ?)

    Thanks in advance

    Svenne

Working...