I try to write a script in .py for oracle connectivity:
#!/usr/bin/python
import cx_Oracle
connstr=\'username/pwd@database\'
conn = cx_Oracle.connect(conns
Windows help:
Go to the command prompt (Win+R and type cmd) and set 2 variables matching your location- for example:
set TNS_ADMIN=C:\instant_client\instantclient_11_2
set ORACLE_HOME=C:\instant_client\instantclient_11_2
Then install the cx_Oracle module from an exe. If you use pip or easy_install, ...good luck.
You can get the installer here: https://pypi.python.org/pypi/cx_Oracle/5.1.3