Please hear my plea: print without softspace
Andrei
fake at fake.net
Sat Feb 28 09:05:26 EST 2004
Martin Bless wrote on Sat, 28 Feb 2004 11:56:55 GMT:
> Why can't we have an additional 'print' statement, that behaves
> exactly like 'print' but doesn't insert that damn blank between two
> arguments?
>
> Could be called 'printn' or 'prin1' or 'prinn' anything similar you
> like.
<snip>
> What do you think?
In these cases I tend to use string formatting, e.g.:
print '%s-%s-%s' % (1,2,3)
As others have already pointed out, there are several other ways too, so
making a new keyword for this doesn't seem very useful.
--
Yours,
Andrei
=====
Real contact info (decode with rot13):
cebwrpg5 at jnanqbb.ay. Fcnz-serr! Cyrnfr qb abg hfr va choyvp cbfgf. V ernq
gur yvfg, fb gurer'f ab arrq gb PP.
More information about the Python-list
mailing list