Skip to content

Instantly share code, notes, and snippets.

View ahem's full-sized avatar

Anders Hellerup Madsen ahem

  • Copenhagen, Denmark
View GitHub Profile
@ahem
ahem / trac2down.py
Created March 27, 2012 17:45 — forked from sgk/trac2down.py
Trac Wiki to Markdown converter
#!/usr/bin/python
# vim:set fileencoding=utf-8 sw=2 ai:
import sqlite3
import datetime
import re
SQL = '''
select
name, version, time, author, text