End of file?

Steve nospam at nopes
Sat Jan 3 07:50:04 CET 2004


Hi,

I'm having trouble finding out if output from a pipe has finished (i.e. 
I can't find tell if there's a EOF in output.readlines()). How do I do 
this? Because readlines() can return empty lines and I can't simply 
check if the line is empty. Please somebody help me!

Thanks.

Steve




More information about the Python-list mailing list