Skip to content

Instantly share code, notes, and snippets.

View Bastian-Kuhn's full-sized avatar

Bastian Kuhn Bastian-Kuhn

View GitHub Profile
@Bastian-Kuhn
Bastian-Kuhn / vocab_export
Last active August 29, 2015 13:58
Export Kindle Paperwhite vocables to csv
#!/usr/bin/python
# -*- coding: utf-8 -*-
import sqlite3, sys
export_file = '/tmp/export.csv'
# State file to avoid duplicate exports
state_file = '/var/tmp/export-stats'
which_dicts = [ 'en', 'en-GB' ]