Help: Using MyODBC with Python

Sabine Richter sabine at textraeume.de
Wed May 1 14:58:23 EDT 2002


Hello,

I downloaded and installed myODBC 3.51. As far as I understand, it is
only the driver, which provides the connection to the database. In my
example, it is MySQL 3.23.49.
The manual says that in my application I have to allocate the
environment handle, set the version, allocate the connection handle,
conect to the server etc.. But don't I have to have a library / module
which provides functions which I can use to do all that? But where is
it? Or do I have to write all that by myself? I don't know where to
begin.  
Please, may anybody help me understand the architecture and how to use
myODBC with Python? Perhaps anybody has a code snippet for me?
I have to be productive with that till tomorrow morning. So it is urgent
for me.

Thanks a lot for your help.

Sabine





More information about the Python-list mailing list