Re: Python Oracle 10g odbc blob insertion problem

2007-03-22 Thread Godzilla
On Mar 23, 9:50 am, Steve Holden <[EMAIL PROTECTED]> wrote: > Godzilla wrote: > > On Mar 23, 4:38 am, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > >> On 22 Mar 2007 05:36:46 -0700, "Godzilla" <[EMAIL PROTECTED]> > >> declaimed the following in comp.lang.python: > > >>> Steve, I think I've tried w

Re: Python Oracle 10g odbc blob insertion problem

2007-03-22 Thread Steve Holden
Godzilla wrote: > On Mar 23, 4:38 am, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: >> On 22 Mar 2007 05:36:46 -0700, "Godzilla" <[EMAIL PROTECTED]> >> declaimed the following in comp.lang.python: >> >>> Steve, I think I've tried what you have suggested without any luck as >>> well... The statement

Re: Python Oracle 10g odbc blob insertion problem

2007-03-22 Thread Godzilla
On Mar 23, 4:38 am, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > On 22 Mar 2007 05:36:46 -0700, "Godzilla" <[EMAIL PROTECTED]> > declaimed the following in comp.lang.python: > > > Steve, I think I've tried what you have suggested without any luck as > > well... The statement works fine, but what

Re: Python Oracle 10g odbc blob insertion problem

2007-03-22 Thread Godzilla
On Mar 23, 4:38 am, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > On 22 Mar 2007 05:36:46 -0700, "Godzilla" <[EMAIL PROTECTED]> > declaimed the following in comp.lang.python: > > > Steve, I think I've tried what you have suggested without any luck as > > well... The statement works fine, but what

Re: Python Oracle 10g odbc blob insertion problem

2007-03-22 Thread Godzilla
On Mar 22, 10:56 pm, Steve Holden <[EMAIL PROTECTED]> wrote: > Godzilla wrote: > > 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):

Re: Python Oracle 10g odbc blob insertion problem

2007-03-22 Thread Paul Boddie
On 22 Mar, 10:21, "Godzilla" <[EMAIL PROTECTED]> wrote: > > I cannot find a solution for my problem with inserting a blob object > (>4000 in length) into an ORACLE database via ODBC. This brings back "happy" memories with Oracle 9i and JDBC. > I have tried the two ways of inserting the blob objec

Re: Python Oracle 10g odbc blob insertion problem

2007-03-22 Thread Steve Holden
Godzilla wrote: > 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) > fp = open("c:/test/test.zip", "r+b") > data = fp.read

Re: Python Oracle 10g odbc blob insertion problem

2007-03-22 Thread Steve Holden
Godzilla wrote: > 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) > fp = open("c:/test/test.zip", "r+b") > data = fp.read

Python Oracle 10g odbc blob insertion problem

2007-03-22 Thread Godzilla
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) fp = open("c:/test/test.zip", "r+b") data = fp.read() s = odbc.odbc(cs) qry = s.cursor() qr

Re: Python & Oracle

2007-03-14 Thread Steve Holden
Facundo Batista wrote: > Hi! I need to connect to Oracle. > > I found this binding, > > http://www.zope.org/Members/matt/dco2 > > that is the recommended in the Python page. > > But that page seems a bit confuse to me. In the upper right corner says > that the last release is PreRelease 1, fr

Re: Python & Oracle

2007-03-14 Thread projecktzero
On Mar 14, 12:01 pm, Facundo Batista <[EMAIL PROTECTED]> wrote: > Hi! I need to connect to Oracle. > > I found this binding, > > http://www.zope.org/Members/matt/dco2 > > that is the recommended in the Python page. > > But that page seems a bit confuse to me. In the upper right corner says > that

Re: Python & Oracle

2007-03-14 Thread Jean-Philippe Durand
So do I ! 2007/3/14, Josh Bloom <[EMAIL PROTECTED]>: > I would suggest using cx_Oracle as I have had good experience with it. > http://www.cxtools.net/default.aspx?nav=cxorlb > > -Josh > > > On 3/14/07, Facundo Batista <[EMAIL PROTECTED]> wrote: > > Hi! I need to connect to Oracle. > > > > I found

Re: Python & Oracle

2007-03-14 Thread Josh Bloom
I would suggest using cx_Oracle as I have had good experience with it. http://www.cxtools.net/default.aspx?nav=cxorlb -Josh On 3/14/07, Facundo Batista <[EMAIL PROTECTED]> wrote: Hi! I need to connect to Oracle. I found this binding, http://www.zope.org/Members/matt/dco2 that is the recom

Python & Oracle

2007-03-14 Thread Facundo Batista
Hi! I need to connect to Oracle. I found this binding, http://www.zope.org/Members/matt/dco2 that is the recommended in the Python page. But that page seems a bit confuse to me. In the upper right corner says that the last release is PreRelease 1, from 2001-11-15. At the bottom, however, it

Pure Python Oracle module

2006-08-22 Thread Ellinghaus, Lance
Title: Pure Python Oracle module Does anyone know of a pure Python module for Oracle similar to Java's pure Oracle module? Thank you! Lance Ellinghaus -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Oracle Interace on Solaris

2006-02-20 Thread Bill Scherer
Kenny wrote: > Thanks... Im not sure if you would know how to solve this one, but when > I ran my setup python scripts I got the error: library -lclntsh not > found. In the instantclient folder the library exists... is this a > matter of just copying the libraries to a different spot or just > set

Re: Python Oracle Interace on Solaris

2006-02-17 Thread Kenny
Thanks... Im not sure if you would know how to solve this one, but when I ran my setup python scripts I got the error: library -lclntsh not found. In the instantclient folder the library exists... is this a matter of just copying the libraries to a different spot or just setting up the correct envi

Re: Python Oracle Interace on Solaris

2006-02-17 Thread Gerhard Häring
[EMAIL PROTECTED] wrote: > 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 a

Re: Python Oracle Interace on Solaris

2006-02-17 Thread Bill Scherer
[EMAIL PROTECTED] wrote: > 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

Python Oracle Interace on Solaris

2006-02-17 Thread kenneth . s . chan
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