reading stdinput

Michael Hall admin at
Sun Mar 18 02:41:00 CET 2001

Please excuse this ultra newbie question ...

How do I read standard input into a Python script? I'm trying to do the
same as 'read' in a shell script to create a variable. I've played about
with various combinations of '' and such but no go.

If there is a better list for newbie questions like this, please let me

Michael Hall - mick at -

More information about the Python-list mailing list