Skip to content

Instantly share code, notes, and snippets.

adizhol /
Created February 12, 2018 09:58 — 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 =