0

I need a code Python for connect a DB Oracle

30th Nov 2022, 1:54 AM
Eduardo Blandon
Eduardo Blandon - avatar
2 odpowiedzi
+ 3
You will need the python-oracledb driver. It is in public domain, you can install with pip. See the documentation here: https://oracle.github.io/python-oracledb/
30th Nov 2022, 5:02 AM
Tibor Santa
Tibor Santa - avatar
+ 2
You can also check SQLAlchemy which is an ORM (object relational mapper) that lets you interact with the database through annotations (decorators) and OOP concepts, rather than with pure SQL. And it has support for Oracle db. https://docs.sqlalchemy.org/en/14/dialects/oracle.html
30th Nov 2022, 5:05 AM
Tibor Santa
Tibor Santa - avatar