View Single Post
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#44
Originally Posted by lostinmirkwood View Post
but when I place a carriage return in the description, python complains.
Use \n or triple-quotes.

s = """one
two
three"""

s = "one\ntwo\nthree"
__________________
Blogging about mobile linux - The Penguin Moves!
Maintainer of PyQt (see introduction and docs), AppWatch, QuickBrownFox, etc
 

The Following User Says Thank You to attila77 For This Useful Post: