cx_Oracle entry point error

2006-02-08 Thread lblr33
I downloaded cx_Oracle from http://www.cxtools.net/default.aspx?nav=cxorlb and selected the windows installer for Oracle 8i, Python 2.4 >From the readme.txt file: BINARY INSTALL: Place the file cx_Oracle.pyd or cx_Oracle.so anywhere on your Python path. So I tried this and set PYTHONPATH. I then

Re: Running a DOS exe file from python

2006-01-26 Thread lblr33
I posted this earlier on yahoo groups and then realized that the most recent post was 2003. What I didn't realize is that it posted to this group so I posted it again. The other post is: http://groups.google.com/group/comp.lang.python/browse_thread/thread/6dc7c53dd00b99ed/da05733f4a83399f#da05733

ODBC

2006-01-26 Thread lblr33
I would like to connect to an Oracle database. In python version 2.1 I used the following code and it worked fine. When I run the code in version 2.4 it says that the odbc moduled does not exist. How do you connect to an Oracle database in v2.4? oradb=odbc.odbc('oracle/scott/tiger') stmt='selec

Running a DOS exe file from python

2006-01-26 Thread lblr33
I would like to execute a windows program from python and wait for it to finish before returning to the python script. The script I want to run has a set number of arguments. The following does work fine: os.system(r"c:\tmp\myprog.exe arg1 arg2 arg3") The problem I have is that the path to mypro

How to run a dos executable from python

2006-01-26 Thread lblr33
I have an executable (e.g. myprog.exe) which takes some set number of arguments. This command works ok: os.system(r"c:\tmp\myprog.exe arg1 arg2 arg3") The problem is that the path to the program and the arguments are variable at runtime so I need to pass them as arguments. Thanks -- http://