So I have to enter a lot of text for display by Tkinter, and I've been rather miffed that I can't seem to find a way to get Eclipse (PyDev) to do any kind of auto-wrapping. Wrapping the lines myself with "string1" + \ "string2" is, of course, beyond annoying. But I'm tired of not being able to read through the text without serious horizontal scrolling, so that's what I've been doing.

Will someone please tell me if there's another way?

So this will not work?

str1 = """line1
line2
line3
"""

My thought, too, bumsfield. I think he means long lines of code, though, right?

Actually, she means both.

I didn't know about the triple quote trick (somehow it escaped me despite being in countless examples, I'm sure)... thanks for that!

Sorry ... gender-neutral, 17th century 'he' intended!

Jeff