This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import sqlite3 | |
import json | |
from pathlib import Path | |
from datetime import datetime | |
import os | |
import base64 | |
def extract_conversations_from_db(db_path): | |
"""Extract all conversations from the database with detailed error handling.""" |