odbc and python

Giles Brown giles_brown at hotmail.com
Fri Jun 3 03:51:02 EDT 2005


MM wrote:
> Are there any other odbc packages other than the win32all and mxodbc
> ones? The win32all odbc.pyd can't access table structure info like
> SQLColumns, and mxobdc requires a commercial license which is
> unjustifiable for this tiny project. Any other OS alternatives for
> win32?. Thanks.

You could potentially make the ODBC calls using ctypes a la:

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/303667

Not tried this myself and imagine it could be a bit tedious.

Cheers,
Giles




More information about the Python-list mailing list