首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Python > Oracle的Python接口生成器——Python包装PL / SQL

Oracle的Python接口生成器——Python包装PL / SQL

  • 资源大小:139.00 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: python oracle database

资 源 简 介

OraPIG generates Python wrapper classes for Oracle PL/SQL packages. Full docs: http://www.markharrison.net/orapig This package: create or replace package tiny --+ this is a tiny package as --+ p is the only procedure procedure p(x in number); end tiny; creates this class: class Tiny: """this is a tiny package""" # from --+ docstring def __init__(self,curs): # instantiate class with a cursor ... def p(self,x): # call procedure tiny.p(x) """p is the only procedure""" ... which can be used like this: curs = conn.cursor() mytiny = tiny.Tiny(curs) mytiny.p(2) # call a procedure curs.commit() # not done automatically

文 件 列 表

orapig-1.1
changes.txt
configomat.py
doc
LICENSE.txt
orapig.py
README.txt
samples
VIP VIP
0.191993s