无法连接到 Oracle 云上托管的数据库:来自 python 的自治数据库(仓储)
from sqlalchemy import create_engine
user = 'admin'
password = '****'
tns = <string from the tnsnames.ora file>
engine = create_engine('oracle+cx_oracle://{0}:{1}@{2}'.format(user, password, tns))
con = engine.connect()
需要使用python访问oracle数据库中的表和数据。