List of tables, db schema, dump etc using the Python sqlite3 API
Asked 07 September, 2021
Viewed 3K times
  • 67
Votes

For some reason I can't find a way to get the equivalents of sqlite's interactive shell commands:

.tables
.dump

using the Python sqlite3 API.

Is there anything like that?

12 Answer