Hot to split string literals that will across two or more lines ?

Lars Kellogg-Stedman 8273grkci8q8kgt at
Fri Nov 18 04:21:37 CET 2005

> print "a string whcih is very very looooooooooooooooooooooooooooooooooo\
> oooooooooooooooooooong."

print "a string which is very loooooo" \
	+ "ooooong."

-- Lars

Lars Kellogg-Stedman <8273grkci8q8kgt at>
This email address will expire on 2005-11-23.

More information about the Python-list mailing list