dumb question.

Ignacio Vazquez-Abrams ignacio at openservices.net
Wed Aug 29 23:13:47 CEST 2001


On Wed, 29 Aug 2001, Andy McKay wrote:

> > print automatically ends the printed text with a \n. You can avoid this in
> two
> > ways:
>
> Or put a comma on the end of your statement, it puts a space in instead of a
> \n.
>
> print 'hello',
> print 'world'
>
> Cheers.
> --
>   Andy McKay.

Yeah, but dangling commas are ugly. Besides, the preceding reads like:

'HelloooOOOHMYGODIMFALLINGOOOOOoooooooofff.....'

Sorry, I think I should get some sleep soon ;)

-- 
Ignacio Vazquez-Abrams  <ignacio at openservices.net>





More information about the Python-list mailing list