Newbie - does Python have DB Independent interface?

Steve Holden sholden at holdenweb.com
Wed May 15 12:02:42 EDT 2002


"Hardy Merrill" <hmerrill at redhat.com> wrote in message
news:mailman.1021470025.15487.python-list at python.org...
> I come from the Perl world, and am starting to learn Python.
> Perl has the DBI module which is a Database Independent interface -
> you write programs to the DBI api, and then if you choose to
> change your database, your code needs to change very little, or
> maybe not at all.
>
> Does Python have anything similar, or must you choose your database
> right up front, and write all your code specific to that one
> database?
>
You mean something like

http://www.python.org/topics/database/DatabaseAPI-2.0.html

for example?
--
-----------------------------------------------------------------------
Steve Holden                                 http://www.holdenweb.com/
Python Web Programming                http://pydish.holdenweb.com/pwp/
-----------------------------------------------------------------------








More information about the Python-list mailing list