How avoid both a newline and a space between 2 print commands?

seberino at spawar.navy.mil seberino at spawar.navy.mil
Wed Jan 23 09:03:05 EST 2008


print "foo"
print "bar"

has a newline in between "foo" and "bar"

print "foo",
print "bar"

has a space in between "foo" and "bar"

How prevent ANYTHING from going in between "foo" and "bar" ??

(Without defining a string variable.)

Chris



More information about the Python-list mailing list