Sample Header Ad - 728x90

Query Oracle database through python

0 votes
0 answers
78 views
Background: New to python. I have a high security client. Anything on the O/S must go through a lengthy (nearly impossible in some cases) process to be approved by the IA department. I want to convert my bash scripts to python2: 1. I don't want to ask to install python3 2. I don't want to ask to install cx_Oracle In bash I could do something like this: echo "select user from dual;"|${SQLPLUS} > ${TEMPFILE} Is there a way to do something similar in python2 with the basic tools that are part of RHEL7?
Asked by Marinaio (298 rep)
Nov 5, 2019, 02:46 PM
Last activity: Nov 5, 2019, 02:53 PM