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

All Samples(40)  |  Call(31)  |  Derive(0)  |  Import(9)

src/p/y/PyObjC-PyInstaller-HEAD/pyinstaller/PyInstaller/utils/icon.py   PyObjC-PyInstaller(Download)
        data = f.grp_icon_dir()
        data = data + f.grp_icondir_entries(iconid)
        win32api.UpdateResource(hdst, RT_GROUP_ICON, i, data)
        logger.info("Writing RT_GROUP_ICON %d resource with %d bytes", i, len(data))
        for data in f.images:
            win32api.UpdateResource(hdst, RT_ICON, iconid, data)
        grpname = -index
    data = win32api.LoadResource(hsrc, RT_GROUP_ICON, grpname)
    win32api.UpdateResource(hdst, RT_GROUP_ICON, grpname, data)
    for iconname in win32api.EnumResourceNames(hsrc, RT_ICON):
        data = win32api.LoadResource(hsrc, RT_ICON, iconname)
        win32api.UpdateResource(hdst, RT_ICON, iconname, data)

src/p/y/PyInstaller-2.1/PyInstaller/utils/icon.py   PyInstaller(Download)
        data = f.grp_icon_dir()
        data = data + f.grp_icondir_entries(iconid)
        win32api.UpdateResource(hdst, RT_GROUP_ICON, i, data)
        logger.info("Writing RT_GROUP_ICON %d resource with %d bytes", i, len(data))
        for data in f.images:
            win32api.UpdateResource(hdst, RT_ICON, iconid, data)
        grpname = -index
    data = win32api.LoadResource(hsrc, RT_GROUP_ICON, grpname)
    win32api.UpdateResource(hdst, RT_GROUP_ICON, grpname, data)
    for iconname in win32api.EnumResourceNames(hsrc, RT_ICON):
        data = win32api.LoadResource(hsrc, RT_ICON, iconname)
        win32api.UpdateResource(hdst, RT_ICON, iconname, data)

src/p/y/pyinstaller-HEAD/PyInstaller/utils/icon.py   pyinstaller(Download)
        data = f.grp_icon_dir()
        data = data + f.grp_icondir_entries(iconid)
        win32api.UpdateResource(hdst, RT_GROUP_ICON, i, data)
        logger.info("Writing RT_GROUP_ICON %d resource with %d bytes", i, len(data))
        for data in f.images:
            win32api.UpdateResource(hdst, RT_ICON, iconid, data)
        grpname = -index
    data = win32api.LoadResource(hsrc, RT_GROUP_ICON, grpname)
    win32api.UpdateResource(hdst, RT_GROUP_ICON, grpname, data)
    for iconname in win32api.EnumResourceNames(hsrc, RT_ICON):
        data = win32api.LoadResource(hsrc, RT_ICON, iconname)
        win32api.UpdateResource(hdst, RT_ICON, iconname, data)

src/p/y/PyObjC-PyInstaller-HEAD/pyinstaller/PyInstaller/utils/winresource.py   PyObjC-PyInstaller(Download)
                logger.info("Updating resource type %s name %s language %s",
                            type_, name, language)
                win32api.UpdateResource(hdst, type_, name, data, language)
    win32api.EndUpdateResource(hdst, 0)
 

src/p/y/PyInstaller-2.1/PyInstaller/utils/winresource.py   PyInstaller(Download)
                logger.info("Updating resource type %s name %s language %s",
                            type_, name, language)
                win32api.UpdateResource(hdst, type_, name, data, language)
    win32api.EndUpdateResource(hdst, 0)
 

src/p/y/pyinstaller-HEAD/PyInstaller/utils/winresource.py   pyinstaller(Download)
                logger.info("Updating resource type %s name %s language %s",
                            type_, name, language)
                win32api.UpdateResource(hdst, type_, name, data, language)
    win32api.EndUpdateResource(hdst, 0)
 

src/m/a/main-HEAD/External.LCA_RESTRICTED/Languages/IronPython/27/Lib/site-packages/win32/lib/win32verstamp.py   main(Download)
""" Stamp a Win32 binary with version information.
"""
 
from win32api import BeginUpdateResource, UpdateResource, EndUpdateResource
 
 
  h = BeginUpdateResource(pathname, 0)
  UpdateResource(h, 16, 1, vs)
  EndUpdateResource(h, 0)
 

src/t/r/TrustRouter-HEAD/client/packaging/Windows/Python32/Lib/site-packages/win32/lib/win32verstamp.py   TrustRouter(Download)
""" Stamp a Win32 binary with version information.
"""
 
from win32api import BeginUpdateResource, UpdateResource, EndUpdateResource
 
 
  h = BeginUpdateResource(pathname, 0)
  UpdateResource(h, 16, 1, vs)
  EndUpdateResource(h, 0)
 

src/s/u/SublimeSpeech-HEAD/lib/pywin64bit/win32/lib/win32verstamp.py   SublimeSpeech(Download)
""" Stamp a Win32 binary with version information.
"""
 
from win32api import BeginUpdateResource, UpdateResource, EndUpdateResource
 
 
  h = BeginUpdateResource(pathname, 0)
  UpdateResource(h, 16, 1, vs)
  EndUpdateResource(h, 0)
 

src/s/u/SublimeSpeech-HEAD/lib/pywin32bit/win32/lib/win32verstamp.py   SublimeSpeech(Download)
""" Stamp a Win32 binary with version information.
"""
 
from win32api import BeginUpdateResource, UpdateResource, EndUpdateResource
 
 
  h = BeginUpdateResource(pathname, 0)
  UpdateResource(h, 16, 1, vs)
  EndUpdateResource(h, 0)
 

  1 | 2  Next