thank you all. IT's very helpful to me.
>>> import sys
>>> def no_space_before(x):
...     sys.stdout.softspace = 0
...     return x
...
>>> for x in range(3):
...     print no_space_before(x),
...
012

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to