[mod_python] Re: how to get data from pyodbc when connected to oracle

Graham Dumpleton graham.dumpleton at gmail.com
Thu Feb 12 23:38:25 EST 2009

Is this from inside of mod_python application or not. This list is not
for generic Python questions, but is specific to mod_python module for

If trying to do it within mod_python, try getting it to work for a
command line script outside of mod_python. If that fails, go use a
more appropriate forum such as:


If works outside of mod_python but not in, then you need to be much
more specific about the error occurring, such as tracebacks, exception
raised etc etc.


2009/2/13 rahul <rahul.warhekar at edisphere.com>:
> Hello all,
> I have used pyodbc to connect to my database.
> I have to connect to three different databases.
> 1) msaccess
> 2) oracle
> 3) sql Server
> I was pretty successful operating with msaccess but when I connected with
> Oracle and run command to print the data with myrow.database_field_name it
> is throwing an exception.
> The same above is working fine for msaccess.
> I have used ODBC_ODBC bridge to connect from linux to windows.
> Thanks,
> Rahul

More information about the Mod_python mailing list