print "foo", without a space
Dale Nagata
dnagata at creo.com
Fri Nov 12 23:00:39 EST 1999
Mikael Johansson wrote:
> Is there another way of getting print to not make a newline than
> using:
> print "foo", ?
> This because the comma always produces a space
[snip]
have you tried
sys.stdout.write( "foo" )
--
Dale Nagata | tel : +1 604.451.2700 ext. 2254 (UTC-0800)
Software Developer | fax : +1 604.437.9891
Creo Products Inc. | pgr : +1 604.691.8279
Burnaby BC Canada | http://www.creo.com/
More information about the Python-list
mailing list