Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 12 lines (10 sloc) 0.234 kb
1 2 3 4 5 6 7 8 9 10 11 12
#!/usr/bin/env python
"""
Simple utility for dumping a sqlite3 database to ASCII format.
"""
import sqlite3
import sys
from sys import stdout

db = sqlite3.connect(sys.argv[1])

for line in db.iterdump():
    stdout.write(line+'\n')
Something went wrong with that request. Please try again.