readline() when there is no '/n'

John Smith someone at microsoft.com
Tue Feb 4 21:38:56 EST 2003


I am running a process using popen2 and capturing the process output with 
readline().  The program prompts for a file name "Enter filename:", and the 
line doesn't end with a '/n' so the readline() method hangs up.  Any 
suggestions?

John Smith




More information about the Python-list mailing list