3

Well, I tried to understand Open Database Connectivity and Python DB-API, but I can't.

ODBC is some kind of standard and Python DB-API is another standard, but why not use just one standard? Or maybe I got these terms wrong.

Can someone please explain these terms and the difference between them as some of the explanations I read were too technical?

Thank you

1 Answer 1

3

There are other programming languages besides python -- java, javascript, ruby, perl, cobol, lisp, smalltalk, go, r, and many, many others. None of them can use the python db-api, but all of them could, potentially use odbc. Python offers odbc for people who come from other languages and already know odbc, and its own db-api for people who only know python and who aren't interested in learning the standard. Also, python db-api isn't really a standard, because it hasn't been accepted by any standards body (afaik)

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

Comments

Your Answer

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