[oracle@crmdevpdb ~]$ python Python 2.6.4 (r264:75706, Dec 202010, 20:13:54) [GCC 4.1.220070626 (Red Hat 4.1.2-14)] on linux2 Type "help", "copyright", "credits" or "license"for more information. >>> import cx_Oracle as oracle >>> con=oracle.connect("SIEBEL/SIEBEL@DEVP") >>> cur=con.cursor() >>> cur.execute("select * from s_party") <__builtin__.OracleCursor on <cx_Oracle.Connection to SIEBEL@DEVP>>>>> res=cur.fetchone() >>>for i in res: ... print i ... 1-3SFF 2010-02-0116:32:091-J6N 2010-02-0116:51:471-J6N 20 Organization 1-3SFF Y 2010-02-0116:52:41 User Organization ?2 None >>>