>>>>> "Bo" == Bo Peng <[EMAIL PROTECTED]> writes:

Bo> file = '''some string with ' or ''. ''' or file = """ some string
Bo> with ' or ". """

Bo> So when we have the risk of ' or " in a string, triple quotes in
Bo> python can handle it.

But this does not handle triple ''' in the name, right? I know that
this would be strange, but we have to consider security considerations
too, that is, can someone send a file to you that would execute
arbitrary code on your computer?

JMarc

Reply via email to