On Nov 21, 7:15 am, Farshid Lashkari <[EMAIL PROTECTED]> wrote: > J. Clifford Dyer wrote: > > I think you mean '\n'.join([string1,string2,string3]) > > > You actually do want the \ to do its thing in this case. > > Yeah, my brain must still be asleep. Thanks for waking it up :)
You're not alone :-) >>> a = """ ... x ... y ... z ... """ >>> a '\nx\ny\nz\n' >>> '\n'.join(['x', 'y', 'z']) 'x\ny\nz' >>> -- http://mail.python.org/mailman/listinfo/python-list