print with no newline

Istvan Albert ialbert at mailblocks.com
Fri Sep 3 11:40:18 EDT 2004


Tim Golden wrote:

> This point of view comes up from time to time on the list
> and for the life of me I can't buy into it. Putting aside
> the obviously tongue-in-cheek implication that only beginners
> would use print, I have almost never found print to be
> "confusing... or otherwise undesirable". It does exactly
> what I expect it to do with the minimum of syntactic clutter.

My feelings exactly. There's nothing wrong with
print. Leave it alone or else.

For those who want full control use the write
method of the object you are writing to.
It is not complicated.

Istvan.



More information about the Python-list mailing list