bakert’s First Law
All production code is shit.
bakert’s Second Law
It’s more important to have a standard than what the standard is.
bakert’s Third Law
TODOs don’t get TODONE.

Adventures in Computer Programming – bakert@gmail.com
bakert’s First Law
All production code is shit.
bakert’s Second Law
It’s more important to have a standard than what the standard is.
bakert’s Third Law
TODOs don’t get TODONE.
connection = apsw.Connection(location)
connection.setrowtrace(row_factory)
def row_factory(cursor, row):
columns = [t[0] for t in cursor.getdescription()]
return dict(zip(columns, row))