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?
-
1You need to have a talk with whom ever is placing such unreasonable restrictions on you. "No external libraries"? With all the great Python software out there, I can't understand.dappawit– dappawit2011-03-08 05:35:50 +00:00Commented Mar 8, 2011 at 5:35
-
Technically, you could write code that use tcp/ip sockets to speak the database's protocol, effectively implementing a new database client from scratch. It's even harder than I make it sound, though.nosklo– nosklo2011-03-08 05:42:06 +00:00Commented Mar 8, 2011 at 5:42
Add a comment
|
2 Answers
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.