Python Forum

Full Version: Database Connect
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Which native (official) python module can I use to connect to any sql database ?
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.