No file from stdin

Tartifola tartifola at gmail.com
Thu May 24 12:48:11 EDT 2007



Hi,
suppose a script of python is waiting for a file from the stdin and none
is given. How can I make the script to stop and, for example, print an
error message?

Sorry for the n00b question and thanks



More information about the Python-list mailing list