setvbuf() ??
Bruce Wolk
bawolk at ucdavis.edu
Wed Mar 28 21:09:37 EST 2001
Putting a trailing comma after the print statement eliminates the newline, but
adds a trailing space. Would periods separated by spaces work?
I would be curious if anyone knows how to eliminate the trailing space.
Bruce
Wayne Cuddy wrote:
> I need to print a period on an xterm every few seconds to provide status to the
> user, I don't want to force a newline. How do I turn off line buffering for
> standard out?
More information about the Python-list
mailing list