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

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

src/p/e/PEATDB-2.3/PEATDB/scripts/multiProjects.py   PEATDB(Download)
                job,n = PS.getJob('mycalc')
                PS.mergeResults(job, 'prediction', S)
                DB.commit()
                print 'merged results'
        else:
        print 'imported ok'
        DB.deleteField('PDB')
        DB.commit()
        DB.close()
        print 'done'
    summDB.importDict(data)
    print summDB.isChanged()
    summDB.commit()    
 
    #add all peatsa jobs to summary proj also

src/p/e/PEATDB-2.3/PEATDB/zodbtest.py   PEATDB(Download)
    for i in range(100,290):
        DB.delete(i)
    DB.commit()
    print DB
    DB.close()
        if count>3000:
            print 'saving..'
            DB.commit()
            DB.db.cacheMinimize()
            count=0
 
    DB.commit()
        if newDB.meta.userfields[m]['field_type'] == 'File':
            newDB.deleteField(m)
    newDB.commit(user='farrell', note='import')
    newDB.close()
    print 'import done'
            DB.add(f)
            DB.data[f]['testfile']=FileRecord(name=f,blob=b)
    DB.commit()
    for k in DB.data:
        if not DB.data[k].has_key('testfile'):