开发者

Python: Connecting to db without any external libraries

I'm workin开发者_开发问答g on a client machine running suse linux and python 2.4.2. I'm not allowed to dowload anything from the net including any external libraries. So, is there any way I can connect to a database (oracle) using only the default libraries?


No. There is nothing in the standard library for connecting to database servers.


You could look at the Apex Listener and/or PL/SQL Embedded Gateway (basically a webserver in the DB). These both provide HTTP access to database resources (eg getting data as JSON). Though obviously this shifts the 'heavy lifting' to the database platform.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜