摘要: import cx_Oraclemap1={}map2={}con= cx_Oracle.connect("admin/admin@ssx")cursor=con.cursor()cursor.execute('select * from test1')rows = cursor.fetchall()print rowsfor x,y,z,m in rows : print x print y print z print m map1[x]=y key=','.join([str(x),str(y),str(z),str(m)]) map2[ 阅读全文
posted @ 2013-12-02 16:23 沙漠里的小鱼 阅读(229) 评论(0) 推荐(0) 编辑