[Tutor] Re: Multi-Line SQL Statement in Python
Lee Harr
missive at hotmail.com
Sat Nov 20 16:37:06 CET 2004
>Secondly, I added backslashes before potential
>special characters ( I only identified '%' as special ) within the script.
I think the escape for % is %%, not \%
>>>'\%'
'\\%'
>>>'\%s' % 'test'
'\\test'
>>>'%%s %s' % 'test'
'%s test'
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
More information about the Tutor
mailing list