configuring ODBC DSN with a python script

Robert Brewer fumanchu at amor.org
Wed Feb 4 14:24:10 EST 2004


Jani Yusef wrote:
> I am building an application which, unfortunately, *must* use an
> access db. The users will have the relevane mdb file installed on
> their system. As part of the installer. Now, the part I am stuck on is
> how do I configure the ODBC dsn without having the user open up the
> ODBC control panel which will in all honestly just scare and confuse
> them. ;)
> Has anyone approached this problem before? What did you do?
> Thanks!!

I haven't ever run into this (I tend to write apps that will be
installed by someone with a modicum of technical skill ;). However, the
thought crosses my mind that ODBC entries are merely a lump of registry
keys--you might just create or even copy those programatically. That
would be _my_ first attempt.


Robert Brewer
MIS
Amor Ministries
fumanchu at amor.org




More information about the Python-list mailing list