SQLite – Export table contents with Python