boring the reader to death (wasRe: Lambda: the Ultimate Design Flaw

bruno modulix onurb at xiludom.gro
Wed Apr 6 13:19:54 EDT 2005


Sunnan wrote:
> Aahz wrote:
> 
(snip)
>>     print "foo is", foo
> 
> 
> Is the space added automatically? (Like awk does, if you add a comma.)

Yes. But you can also format it how you like:
   print "foo is %s and that's a good news, my friends" % foo

-- 
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for 
p in 'onurb at xiludom.gro'.split('@')])"



More information about the Python-list mailing list