Skip to content

Instantly share code, notes, and snippets.

@bigornoo
bigornoo / trac2down.py
Created November 17, 2017 16:31 — 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