473,883 Members | 1,508 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 2226
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
1808
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
3326
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
7260
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
2863
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
5656
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
1677
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
1895
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
3865
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
3976
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
9933
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
9787
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10734
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9568
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7964
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7119
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
5794
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...
1
4607
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3230
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.