My first Python program

Christian Heimes lists at cheimes.de
Wed Oct 13 18:33:42 EDT 2010


Am 14.10.2010 00:00, schrieb Jonas H.:
> If you haven't got braces around an expression and you want it to be 
> multi-line, you need a '\' at the end of each line, just like C macros:
> 
>      msg = "WARNING: " \
>            "Pants on fire"

or

msg = ("WARNING: "
       "Pants on fire")

Christian




More information about the Python-list mailing list