Skip to content

Instantly share code, notes, and snippets.

adizhol /
Created Feb 12, 2018 — forked from jcarbaugh/
convert a MySQL dump into SQLite
#!/usr/bin/env python
# Convert a mysql dump into a sqlite-compatible format.
# I wrote this for just one script... no guarantess that it will work with others...
# python < mysqldump.sql > readyforsqlite.sql
import re
import sys
content =