473,805 Members | 2,191 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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(current ly 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 2220
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***********@A cm.Org
Jul 18 '05 #3
na************@ gmail.com (Nagendra) wrote in message news:<18******* *************** ****@posting.go ogle.com>...
I need to access an Oracle database through a python script using ODBC
drivers(current ly 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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1805
by: Dale Strickland-Clark | last post by:
I need to write a tiny little program which makes use of an Oracle database on Solaris. Just a single SQL statement. Nice and simple. Coming from a Windows/SQLServer/ADO background, I'm having a bit of trouble finding some of the basics. Given that I already have Oracle and Python installed on the Solaris box, what else do I need? A little code snippet would be very handy.
0
378
by: Nagendra | last post by:
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.
10
3321
by: callmebill | last post by:
I'm getting my feet wet with making Python talk to MySQL via ODBC. I started on Windows, and it went smoothly enough due to the ODBC stuff that apparently is native to Python at least on windows (I've been following ch. 13 of Mark Hammond's py on win32 book). But now I'm trying to do equivalent stuff on linux (Fedora Core 3) with python 2.3.5 and mysql. I'd like to stick with packages that are native to python, rather than relying on...
4
7255
by: Roger Redford | last post by:
Dear Experts, I'm attempting to marry a system to an Oracle 817 datbase. Oracle is my specialty, the back end mainly, so I don't know much about java or javascript. The system uses javascript to make ODBC calls to the db. The particular system I'm working with, will not work with an Oracle stored procedure I'm told. However, it
4
2857
by: hot.favorite | last post by:
Hi, I'm fairly new to Python so please pardon any dumbness on my part. I plan to write an app in Python that will run on Linux and would need to connect to Oracle and MySQL. I could use MySQLdb for MySQL and cx_oracle for Oracle, but 2 different APIs in the same app is kind of painful. So I have unixODBC that gives me ODBC on Linux. The best ODBC access
4
5654
by: Andreas Lauffer | last post by:
Can anyone tell me advantages / disadvantages of DataDirect Server Wire ODBC-driver? Any experiences? What about redistribution? Andreas Lauffer, easySoft. GmbH, Germany
1
1674
by: kenneth.s.chan | last post by:
I am trying to use Python to do queries on a Oracle database using a Solaris box. I have seen tools such as cx_Oracle which would be good except that my Solaris box does not have an Oracle installation. Do I need to have an Oracle installation on my Solaris box to access the Oracle database (which is on another machine)? Are there ways to access an Oracle database and do queries without having a local copy of Oracle installed? Thanks.
5
1892
by: dananrg | last post by:
I was messing around with the native ODBC module (I am using Python in a Win32 environment), e.g: import dbi, odbc ....and it seems to meet my needs. I'd rather use a module that comes natively with Python if it works (don't care about performance in this particular use case; just that it works). The only issue I've had so far is retrieving data from Oracle when an
8
3860
by: Godzilla | last post by:
Dear all, I cannot find a solution for my problem with inserting a blob object (>4000 in length) into an ORACLE database via ODBC. I have tried the two ways of inserting the blob object (a zip file): 1)
0
3970
by: sudhaoncyberworld | last post by:
Dear Techies, I do have small issue on connecting oracle server from .net This is the code snippet public string strConString = "Driver={Microsoft ODBC for Oracle};Server=myserver;Uid=system;Pwd=mypwd;";
0
9718
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10614
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10369
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10109
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6876
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5544
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5678
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3847
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3008
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.