print without newline

Wim Lavrijsen wlav at hpatl26.cern.ch
Fri Jun 9 10:06:52 EDT 2000


Eckhard Pfluegel <Eckhard at pfluegel.fsnet.co.uk> writes:

>I want to print a string without a newline afterwards.

 [...]

>>> import sys
>>> sys.stdout.write( "foo" )
foo>>>

Best regards,
      Wim Lavrijsen





More information about the Python-list mailing list