print format

William Tanksley wtanksle at dolphin.openprojects.net
Wed Jul 26 15:41:01 EDT 2000


On Tue, 25 Jul 2000 20:50:05 -0500, Mark Baker wrote:
>wtanksle at dolphin.openprojects.net (William Tanksley) wrote:

>>>Also, how do I print without a new line other than using
>>>sys.stdout.write?

>> Why?  Is there something in specific you're trying to avoid?  (Yes, it's
>> possible, but it's not pretty.)

>print 'bob',

>That's not "pretty," but it's also not so ugly as to not tell him how to
>do it.

Ah.  I'd forgotten about that.  You're right, that's not as bad as the one
I was thinking of.

I'm still curious as to why sys.stdout.write is so bad.

-- 
-William "Billy" Tanksley



More information about the Python-list mailing list