错误:tns:listener在connect_data中未获得service_name
import cx_Oracle
con = cx_Oracle.connect('hr/hr@localhost')
if con!= None:
print('Connection established successfully')
print('Version:',con.version)
else:
print('Connection not established')
con.close()
答案 0 :(得分:0)
pycurl.Curl