But this does not handle triple ''' in the name, right?

Of course not. The real solution, if we want to go this route, instead
of Georg's, is a python-specific quoteName that scan the name and add
backslash before ' and use single ' quote (or scan for ''' and use '''
quote etc).

Bo

Reply via email to