End of file?

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


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!



More information about the Python-list mailing list