hi I'm trying to run sqlldr from python script, before that I'm trying to set ORACLE_HOME from python as below
subprocess.call(["export","ORACLE_HOME=/home/user1/oracle/client"], shell=True)
when I run the above python script, it displays all environment variables. When I search for ORACLE_HOME in that it never displays the one which I set (/home/user1/oracle/client) instead it displays someother path which is incorrect.
How can I set the ORACLE_HOME in unix from python script?