cx_Oracle.LOB类型数据转化成字典
cx_Oracle.LOB类型数据转化成字典方法 def cxOracleolbTrasferDict(dbsearchresult): readstr = "" for i in dbsearchresult.read(): readstr = readstr + i responsedict = eval(readstr) return responsedict DB的封装 #-*- coding: utf-8 -*- import configparser import pymysql as mdb import os import cx_Oracle as o
用户评论