469,306 Members | 1,850 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,306 developers. It's quick & easy.

Support for ODBC for Oracle through Python on solaris

Hi all,
I need to access an Oracle database through a python script using ODBC
drivers(currently i have eval copies of Easysoft and datadirect Oracle
ODBC drivers).
Desired platforms are solaris, linux.

Is there any support in the python to do this or will i have to resort
to a c/c++ program becuase python for UNIX doesn't support this.
any pointers will be appriciated.

Thanks in advance.
Nagendra.
Jul 18 '05 #1
3 2017
Nagendra wrote:
Is there any support in the python to do this or will i have to resort
to a c/c++ program becuase python for UNIX doesn't support this.
any pointers will be appriciated.


look here

http://www.egenix.com/files/python/mxODBC.html

Istvan.
Jul 18 '05 #2
Istvan Albert wrote:
Nagendra wrote:
Is there any support in the python to do this or will i have to resort
to a c/c++ program becuase python for UNIX doesn't support this.
any pointers will be appriciated.

look here
http://www.egenix.com/files/python/mxODBC.html
Istvan.


I concur. mxODBC represents a lot of heavy lifting to produce a nice
simple result. It makes SQL through ODBC so simple you can be fooled
into thinking it is a simple thing and not worth the money.

-Scott David Daniels
Sc***********@Acm.Org
Jul 18 '05 #3
na************@gmail.com (Nagendra) wrote in message news:<18**************************@posting.google. com>...
I need to access an Oracle database through a python script using ODBC
drivers(currently i have eval copies of Easysoft and datadirect Oracle
ODBC drivers).
Desired platforms are solaris, linux.


If your database resides on a Windows server, take a look at ODBTP
(http://odbtp.sourceforge.net/) and my Python DB API bindings for it
(http://benjiyork.com/odbtp.html).

If not, and mxODBC doesn't work (which, it should), consider building
your own interface using somthing like ctypes.
--
Benji York
http://benjiyork.com
Jul 18 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Dale Strickland-Clark | last post: by
10 posts views Thread by callmebill | last post: by
4 posts views Thread by hot.favorite | last post: by
4 posts views Thread by Andreas Lauffer | last post: by
1 post views Thread by kenneth.s.chan | last post: by
8 posts views Thread by Godzilla | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by harlem98 | last post: by
1 post views Thread by Geralt96 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.