pysqlite - simple problem

Fredrik Lundh fredrik at pythonware.com
Fri Sep 1 03:38:24 EDT 2006


"rdrink" <rdrink at artic.edu> wrote:

>I am just getting into pysqlite (with a fair amount of Python and MySQL
> experience behind me) and have coded a simple test case to try to get
> the hang of things...
>
> yet have run into a 'stock simple' problem...

what does

    import sqlite
    print sqlite.paramstyle
    print sqlite.version

print on your machine ?

(afaik, version 1 of the python bindings use paramstyle=pyformat, version
2 uses qmark.  maybe you have a version 1 library ?)

</F> 






More information about the Python-list mailing list