On Mon, Jan 03, 2005 at 11:54:06PM -0000, Alan Gauld wrote: > There was a detailed thread on this recently either here > or on usenet group comp.lang.python...
I checked the archives for this list but didn't see anything. I'll try the ng. Thanks. > The bottom line was to use string formatting and triple > quoted strings... > > msg = ''' > A very long string that overspills > onto multiple lines and includes > my name which is %{name}s > and a number which is my age: %{age}d > ''' > > print msg % vars() This is great, thanks to you and to Bill. Much appreciated. mp _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor