firebot/dbdump.py

10 lines
137 B
Python
Raw Normal View History

2007-08-24 10:57:29 -06:00
#! /usr/bin/env python
import anydbm
d = anydbm.open('info.db')
n = anydbm.open('new.db', 'c')
for k,v in d.iteritems():
n[k] = v