Database Connect - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Database Connect (/thread-25542.html) |
Database Connect - JohnnyCoffee - Apr-02-2020 Which native (official) python module can I use to connect to any sql database ? RE: Database Connect - ndc85430 - Apr-02-2020 You use a library for the specific database you're connecting to. Each database is different, so they have their own drivers. For SQLite, there's a module in the standard library, for PostgreSQL, there's Psycopg 2, for example. |