"Steven D'Aprano" <[email protected]> wrote
...The only good reason to escape a quotation mark is if you need
*both* quote marks in a single string:
"John Cleese said, \"'e's not dead, 'e's just pining for the
fjords!\""
And even here you can use outer triple quotes if you prefer:
'''John Cleese said, "'e's not dead, 'e's just pining for the
fjords!"'''
HTH,
Alan G.
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor