Rnet
Rnet

Reputation: 5040

Python: Connecting to db without any external libraries

I'm working 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?

Upvotes: 0

Views: 1077

Answers (2)

Gary Myers
Gary Myers

Reputation: 35401

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.

Upvotes: 0

Ignacio Vazquez-Abrams
Ignacio Vazquez-Abrams

Reputation: 798774

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

Upvotes: 1

Related Questions