Stupid question: 'print' without spaces?

Mikael Olofsson mikael at isy.liu.se
Tue Sep 19 05:18:55 EDT 2000


On 18-Sep-00 Jon Ribbens wrote:
 >  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 ;-)

Take a look at 

  http://www.faqts.com/knowledge-base/view.phtml/aid/4465/fid/538

/Mikael

-----------------------------------------------------------------------
E-Mail:  Mikael Olofsson <mikael at isy.liu.se>
WWW:     http://www.dtr.isy.liu.se/dtr/staff/mikael               
Phone:   +46 - (0)13 - 28 1343
Telefax: +46 - (0)13 - 28 1339
Date:    19-Sep-00
Time:    11:18:25

         /"\
         \ /     ASCII Ribbon Campaign
          X      Against HTML Mail
         / \

This message was sent by XF-Mail.
-----------------------------------------------------------------------



More information about the Python-list mailing list