On Sunday 07 October 2007 22:32, Kent Johnson wrote: > Eric Brunson wrote: > > claxo wrote: > >> dont indent the line after '\', that means 0 indent > >> > >> s = 'hello\ > >> boy' > > > > Or, arguably better: > > > > s = '''hello > > boy''' >
And there is even a third way:-) >>> s = "hello " \ ... "world." >>> s 'hello world.' Two strings that are adjacent to each other, are concatenated into one string; like in C++. Regards, Eike. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor