import cx_Oracle
con=None
try:
	con=cx_Oracle.connect("system/abc123")
	print("Connected")
	print(con.version)
except cx_Oracle.DatabaseError as e:
	print("issue",e)
finally:
	if con is not None:
		con.close()
		print("disconnected")
073f3ce510722c96c848c21b980c4d20157616d5
<mask token>

<mask token>
try:
    con = cx_Oracle.connect('system/abc123')
    print('Connected')
    print(con.version)
except cx_Oracle.DatabaseError as e:
    print('issue', e)
finally:
    if con is not None:
        con.close()
        print('disconnected')

<mask token>
con = None
try:
    con = cx_Oracle.connect('system/abc123')
    print('Connected')
    print(con.version)
except cx_Oracle.DatabaseError as e:
    print('issue', e)
finally:
    if con is not None:
        con.close()
        print('disconnected')

import cx_Oracle
con = None
try:
    con = cx_Oracle.connect('system/abc123')
    print('Connected')
    print(con.version)
except cx_Oracle.DatabaseError as e:
    print('issue', e)
finally:
    if con is not None:
        con.close()
        print('disconnected')

import cx_Oracle
con=None
try:
	con=cx_Oracle.connect("system/abc123")
	print("Connected")
	print(con.version)
except cx_Oracle.DatabaseError as e:
	print("issue",e)
finally:
	if con is not None:
		con.close()
		print("disconnected")