quoting %

Gandalf gandalf at geochemsource.com
Fri Oct 15 16:15:15 EDT 2004


>I don't know what kind of database and/or API you're using, but DB-API
>compliant (Python PEP 249) libraries will put the right quotation marks
>(if any) around your strings *and* quote any internal troublesome
>characters correctly.
>
Can you please send an example? I'm using the DB-API extensively, but I 
have my own conversion
functions for date/time types. It would be great to have a general method.

  Laci 2.0





More information about the Python-list mailing list