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

All Samples(157)  |  Call(95)  |  Derive(0)  |  Import(62)

src/p/l/plexnet-HEAD/third_party/generic/pypy/lib-python/2.5.2/plat-mac/macostools.py   plexnet(Download)
 
    dstfsr, dstfss = Res.FSCreateResourceFile(dstdirfsr, unicode(dstname),
        File.FSGetResourceForkName())
    h = Res.FSOpenResourceFile(dstfsr, File.FSGetResourceForkName(), 3)
    resource = Res.Resource(alias.data)

src/g/o/goagent-ios-HEAD/python/lib/python2.7/plat-mac/macostools.py   goagent-ios(Download)
 
    dstfsr, dstfss = Res.FSCreateResourceFile(dstdirfsr, unicode(dstname),
        File.FSGetResourceForkName())
    h = Res.FSOpenResourceFile(dstfsr, File.FSGetResourceForkName(), 3)
    resource = Res.Resource(alias.data)

src/e/m/empythoned-HEAD/cpython/Lib/plat-mac/macostools.py   empythoned(Download)
 
    dstfsr, dstfss = Res.FSCreateResourceFile(dstdirfsr, unicode(dstname),
        File.FSGetResourceForkName())
    h = Res.FSOpenResourceFile(dstfsr, File.FSGetResourceForkName(), 3)
    resource = Res.Resource(alias.data)

src/p/l/plexnet-HEAD/third_party/generic/pypy/lib-python/2.5.2/plat-mac/plistlib.py   plexnet(Download)
def readPlistFromResource(path, restype='plst', resid=0):
    """Read plst resource from the resource fork of path.
    """
    from Carbon.File import FSRef, FSGetResourceForkName
    from Carbon.Files import fsRdPerm
    from Carbon import Res
    fsRef = FSRef(path)
    resNum = Res.FSOpenResourceFile(fsRef, FSGetResourceForkName(), fsRdPerm)
def writePlistToResource(rootObject, path, restype='plst', resid=0):
    """Write 'rootObject' as a plst resource to the resource fork of path.
    """
    from Carbon.File import FSRef, FSGetResourceForkName
    from Carbon.Files import fsRdWrPerm
    from Carbon import Res
    plistData = writePlistToString(rootObject)
    fsRef = FSRef(path)
    resNum = Res.FSOpenResourceFile(fsRef, FSGetResourceForkName(), fsRdWrPerm)

src/p/y/pytaint-HEAD/Python-2.7.5-pytaint/Lib/plat-mac/macostools.py   pytaint(Download)
 
    dstfsr, dstfss = Res.FSCreateResourceFile(dstdirfsr, unicode(dstname),
        File.FSGetResourceForkName())
    h = Res.FSOpenResourceFile(dstfsr, File.FSGetResourceForkName(), 3)
    resource = Res.Resource(alias.data)

src/p/y/PyAutoC-HEAD/Python27/Lib/plat-mac/macostools.py   PyAutoC(Download)
 
    dstfsr, dstfss = Res.FSCreateResourceFile(dstdirfsr, unicode(dstname),
        File.FSGetResourceForkName())
    h = Res.FSOpenResourceFile(dstfsr, File.FSGetResourceForkName(), 3)
    resource = Res.Resource(alias.data)

src/p/y/Py2crazy-HEAD/Python-2.7.5/Lib/plat-mac/macostools.py   Py2crazy(Download)
 
    dstfsr, dstfss = Res.FSCreateResourceFile(dstdirfsr, unicode(dstname),
        File.FSGetResourceForkName())
    h = Res.FSOpenResourceFile(dstfsr, File.FSGetResourceForkName(), 3)
    resource = Res.Resource(alias.data)

src/p/y/PyCPython-HEAD/Python-2.7.1/Lib/plat-mac/macostools.py   PyCPython(Download)
 
    dstfsr, dstfss = Res.FSCreateResourceFile(dstdirfsr, unicode(dstname),
        File.FSGetResourceForkName())
    h = Res.FSOpenResourceFile(dstfsr, File.FSGetResourceForkName(), 3)
    resource = Res.Resource(alias.data)

src/p/y/python-with-braces-HEAD/Lib/plat-mac/macostools.py   python-with-braces(Download)
 
    dstfsr, dstfss = Res.FSCreateResourceFile(dstdirfsr, unicode(dstname),
        File.FSGetResourceForkName())
    h = Res.FSOpenResourceFile(dstfsr, File.FSGetResourceForkName(), 3)
    resource = Res.Resource(alias.data)

src/p/y/python2.7-mod-HEAD/Lib/plat-mac/macostools.py   python2.7-mod(Download)
 
    dstfsr, dstfss = Res.FSCreateResourceFile(dstdirfsr, unicode(dstname),
        File.FSGetResourceForkName())
    h = Res.FSOpenResourceFile(dstfsr, File.FSGetResourceForkName(), 3)
    resource = Res.Resource(alias.data)

  1 | 2 | 3 | 4 | 5 | 6  Next