raw strings and \

plahey at alumni.caltech.edu plahey at alumni.caltech.edu
Sun Mar 5 18:47:06 CET 2006


Hi,

thanks for the reply.  I was not aware of this in raw strings (and
frankly, don't like it... but who cares about that :-) )

When I needed embedded quotes in a raw string I went the triple quote
route:

a = r'''check \' this'''

which makes more sense to me.




More information about the Python-list mailing list