0

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?

2
  • 1
    You 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. Commented 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. Commented Mar 8, 2011 at 5:42

2 Answers 2

1

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

Sign up to request clarification or add additional context in comments.

Comments

0

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.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.