Separator in print statement
Bertram Scharpf
b.scharpf at tesionmail.de
Tue Oct 14 12:10:31 EDT 2003
Hi,
when I write
>>> print 'abc', 'def',
>>> print 'ghi'
I get the output 'abc def ghi\n'.
Is there a way to manipulate the print
statment that I get for example:
'abc, def, ghi\n'
I mean: can I substitute the ' ' separator produced from
the comma operator by a e.g. ', ' or something else?
Thanks in advance.
Bertram
--
Bertram Scharpf
Stuttgart, Deutschland/Germany
More information about the Python-list
mailing list