Skip to content

Instantly share code, notes, and snippets.

View travishathaway's full-sized avatar
🐢
Taking it slow and easy

Travis Hathaway travishathaway

🐢
Taking it slow and easy
View GitHub Profile
@travishathaway
travishathaway / file_vs_sqlite.py
Created May 19, 2022 13:13
Storing IDs in a file vs. SQLite
import os
import sys
import sqlite3
import time
import uuid
from functools import wraps
DB_FILE = 'tester.db'
FILE = 'tester.cache'