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

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

src/w/r/wrye-bash-HEAD/Mopy/bash/bish.py   wrye-bash(Download)
def makeOOO_NoGuildOwnership():
    bosh.initBosh()
    import cint
    with cint.ObCollection(ModsPath=bosh.dirs['mods'].s) as Current:
        modFile = Current.addMod("Oscuro's_Oblivion_Overhaul.esp")
    #--Load up in CBash
    import cint
    with cint.ObCollection(ModsPath=bosh.dirs['mods'].s) as Current:
        modFile = Current.addMod(fileName.stail)
        Current.load()
        print "WARNING: Expected master file '%s' is not present.  Applicable data from those records cannot be verified and/or copied." % (master.stail)
    #--Now do the mod creation
    with cint.ObCollection(ModsPath=bosh.dirs['mods'].s) as Current:
        for master in data.masters:
            Current.addMod(master.stail)