Possible Duplicate:
How do you read from stdin in python
Hi All,
I am a newbie in python. I was wondering how I could manage to get data from standard input, such as getline in c++ and similar, so that from terminal/console I can use a text file as an input for a python script.
Thanks