long string constants

Mikael Olofsson mikael at isy.liu.se
Mon Nov 12 11:20:15 CET 2001


On 12-Nov-2001 Holger Fuessler wrote:
 >  Now my question. Is it possible to spread very long string constants
 >  over multiple lines?.

"""Do you 
mean 
like this?
"""

'''
Or do you
mean like this?'''

Or are you asking about something completely different?

/Mikael

-----------------------------------------------------------------------
E-Mail:  Mikael Olofsson <mikael at isy.liu.se>
WWW:     http://www.dtr.isy.liu.se/dtr/staff/mikael               
Phone:   +46 - (0)13 - 28 1343
Telefax: +46 - (0)13 - 28 1339
Date:    12-Nov-2001
Time:    11:18:25

         /"\
         \ /     ASCII Ribbon Campaign
          X      Against HTML Mail
         / \

This message was sent by XF-Mail.
-----------------------------------------------------------------------
Linköpings kammarkör: www.kammarkoren.com




More information about the Python-list mailing list