Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/s/y/synt-HEAD/synt/collector.py   synt(Download)
from sqlite3 import IntegrityError
from cStringIO import StringIO
from synt.utils.db import db_init
from synt import config
 
        db_name = "samples-%s-%s-%s.db" % (d.year, d.month, d.day)
 
    db = db_init(db=db_name)
    cursor = db.cursor()
 
        os.remove(fp)
 
    db = db_init(db=db_name, create=False)
    db.set_progress_handler(import_progress,20)