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/p/i/PixivUtil2-HEAD/PixivUtil2.py   PixivUtil2(Download)
        if __config__.useList:
            list_txt = PixivListItem.parseList(__config__.downloadListDirectory + os.sep + 'list.txt')
            __dbManager__.importList(list_txt)
            print "Updated " + str(len(list_txt)) + " items."
 

src/p/i/PixivUtil2-HEAD/test.PixivDBManager.py   PixivUtil2(Download)
    def testImportListTxt(self):
        DB = PixivDBManager(target = "test.db.sqlite")
        DB.createDatabase()
        l = PixivListItem.parseList("test.list.txt", config.rootDirectory)
        result = DB.importList(l)