Python and Sybase
Josh Close
narshe at gmail.com
Thu Sep 23 16:46:58 EDT 2004
On Thu, 23 Sep 2004 14:50:04 -0400, David Rysdam <drysdam at ll.mit.edu> wrote:
> What module is most recommended for accessing Sybase from Python? This
> one: http://www.object-craft.com.au/projects/sybase/sybase/ ?
Object-Craft's is the best one I've found so far.
>
> Also, is there any module that provides a generic DB API and can be
> hooked to both Sybase and postgresql? This
> (http://www.python.org/peps/pep-0249.html) looks pretty old.
Why would you need that? Python has a DB API, so all you have to do to
change from db to db is the connection string.
conn = Sybase.connection(.....)
conn = otherModules.connection(....)
Everthing else should work the same way.
-Josh
More information about the Python-list
mailing list