Print function and spaces

Dan Williams dan at
Thu Feb 5 12:38:26 CET 2004

Hi people

I'm getting a little annoyed with the way the print function always adds a
space character between print statements unless there has been a new line.
The manual mentions that "In some cases it may be functional to write an
empty string to standard output for this reason." Am I the only the who
thinks that this sucks? It's the first thing I've come across in Python that
I really think is a design flaw.

Is there a good way to stop the space being automatically generated, or am I
going to have to write a blank string to standard output, like the manual



More information about the Python-list mailing list