print and trailing white space

Maxime Biais max at fr.fm
Thu Sep 18 17:47:34 EDT 2003


Thu, 18 Sep 2003 17:33:41 -0400
Peter Hansen <peter at engcorp.com> wrote:
 
> What's wrong with write() ?  Print is merely provided for convenience.
> When it's not doing what you want, you are supposed to use write(),
> not come up with weird hacks for print.

ok sorry, I believed write was not buffered. I just read the library
reference part on write() and see I was wrong.

-- 
Maxime Biais




More information about the Python-list mailing list