I am new to python. Sorry if this is a noob question. But I am still searching on how can I connect to databases using python 3. Most of what I can see on some sites, forums, are about python 2. Is there any good DBAPI or database driver for python 3 (especially sybase, oracle and sqlserver)?
Or did anyone succeed on porting sybase library using 2to3? I have no luck. :(
To use Python (2.6,2.7 and 3.1 are supported) with Sybase ASE you need two things:
sybpydb
extension module for Python Sybase has documentation for programmers wishing to connect to Sybase ASE with Python.
If you are using Python with Sybase SQLAnywhere you need the sqlanydb
module.
Here is the documentation for using Sybase SQLAnywhere with Python.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With