Нещо подобно?
import cx_Oracle
con = cx_Oracle.connect('username/[email protected]_name/service_name')
print con.version
con.close()
Нещо подобно?
import cx_Oracle
con = cx_Oracle.connect('username/[email protected]_name/service_name')
print con.version
con.close()