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
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
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
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
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://