creating an odbc link with python

Scott Hathaway slhath at home.com.nospam
Mon Dec 11 11:29:06 EST 2000


I have a little more info now.  I basically just need to add a key and some
values to the windows registry.

Thanks,
Scott

"Paul Boddie" <paulb at infercor.no> wrote in message
news:3A34CD79.F13410CC at infercor.no...
> Scott Hathaway wrote:
> >
> > I am using python to create an installation program for a web app that
> > we have at our company.  The web app uses an access database that is
> > hooked up through odbc.  How can I programatically create the dsn in
> > python (I guess I need to edit the windows registry)?
>
> I think that what you are asking is how one can call various functions in
the
> win32 API so that an ODBC data source gets added to the list maintained by
ODBC
> driver manager. Whilst I have no experience in this area, it would be
> interesting to know how one might achieve this. Perhaps it is a case of
calling
> methods in various COM interfaces.
>
> Regards,
>
> Paul





More information about the Python-list mailing list