gdb_db.py 208 B

12345678910
  1. import time
  2. import sys
  3. import os
  4. import dataset
  5. import datetime
  6. db = dataset.connect('sqlite:///similar.db')
  7. table=db['similar']
  8. table.insert({'domain_name':'dd','json':'dd','dt':datetime.datetime.now() })