Stupid question: 'print' without spaces?

Jon Ribbens jon+python-list at unequivocal.co.uk
Mon Sep 18 21:41:48 CEST 2000


Is there a way to configure print not to put spaces in-between its arguments?
I can't understand why it does this, because it appears to never be useful.
I tried fiddling with sys.stdout.softspace with no success. If you can't do
it with print, what is the usual work-around? I could do something like
'echo = sys.stdout.write' but I'd rather find out what you're *supposed*
to do ;-)

Cheers


Jon



More information about the Python-list mailing list