On Tue, Jul 11, 2006 at 03:04:02PM -0400, Kent Johnson wrote: > Try bob.flush() instead of bob.read(), my guess is the read() is forcing > a flush().
That works! Thanks, Kent. If I understand flush (looking at [1]), I got no output because the data for the stream wasn't written to the file before I tried to read it. Is that right? [1] http://www.opengroup.org/pubs/online/7908799/xsh/fflush.html _______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
