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

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

src/a/r/ardj-1.2.1/src/ardj/tracks.py   ardj(Download)
        raise TypeError("jids must be a list or a tuple")
 
    _sets = [set(ardj.database.fetchcol("SELECT track_id FROM votes WHERE email = ? AND vote > 0", (jid, ))) for jid in jids]
    while len(_sets) > 1:
        _sets[0] &= _sets[1]

src/a/r/ardj-1.2.1/src/ardj/users.py   ardj(Download)
        return []
    delta = int(time.time()) - days * 86400
    emails = database.fetchcol("SELECT `email`, COUNT(*) AS `c` FROM `votes` "
        "WHERE `ts` >= ? GROUP BY `email` ORDER BY `c` DESC "
        "LIMIT %u" % count, (delta, ))