Possible Duplicate:
How do you read from stdin in python
I am new Python convert. I have seen examples of people using this command.
cat file1 file2 | python <script name>
I was wondering how to do that? As in how should my python script handle taking this input.? Sorry I do not know the terms to use to search for this. My guess is it can be used for any unix command?
Thanks.