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

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

src/r/a/rattail.sw.locsms-0.3.7/rattail/sw/locsms/wx/Admin.py   rattail.sw.locsms(Download)
            pass
    else:
        for uuid, reserved, class_, mtime in win32api.RegEnumKeyEx(key):
            envs.append(get_environment(uuid))
        win32api.RegCloseKey(key)

src/r/a/rattail_locsms-0.3.10/rattail_locsms/wx/Admin.py   rattail_locsms(Download)
            pass
    else:
        for uuid, reserved, class_, mtime in win32api.RegEnumKeyEx(key):
            envs.append(get_environment(uuid))
        win32api.RegCloseKey(key)

src/e/d/edbob-0.1.2/edbob/win32.py   edbob(Download)
    def delete_contents(key):
        subkeys = []
        for name, reserved, class_, mtime in win32api.RegEnumKeyEx(key):
            subkeys.append(name)
        for subkey_name in subkeys:

src/s/a/salt-HEAD/salt/modules/win_pkg.py   salt(Download)
                pass
                #Unsinstall key may not exist for all users
            for name, num, blank, time in win32api.RegEnumKeyEx(reg_handle):
                prd_uninst_key = "\\".join([reg_key, name])
                #These reg values aren't guaranteed to exist
        0,
        win32con.KEY_READ)
    for name, num, blank, time in win32api.RegEnumKeyEx(reg_handle):
        #this is some identical key of a sid that contains some software names
        #but no detailed information about the software installed for that user

src/s/a/salt-2014.1.3/salt/modules/win_pkg.py   salt(Download)
                pass
                #Unsinstall key may not exist for all users
            for name, num, blank, time in win32api.RegEnumKeyEx(reg_handle):
                prd_uninst_key = "\\".join([reg_key, name])
                #These reg values aren't guaranteed to exist
        0,
        win32con.KEY_READ)
    for name, num, blank, time in win32api.RegEnumKeyEx(reg_handle):
        #this is some identical key of a sid that contains some software names
        #but no detailed information about the software installed for that user

src/s/a/salt-thin-HEAD/salt/modules/win_pkg.py   salt-thin(Download)
                pass
                #Unsinstall key may not exist for all users
            for name, num, blank, time in win32api.RegEnumKeyEx(reg_handle):
                prd_uninst_key = "\\".join([reg_key, name])
                #These reg values aren't guaranteed to exist
        0,
        win32con.KEY_READ)
    for name, num, blank, time in win32api.RegEnumKeyEx(reg_handle):
        #this is some identical key of a sid that contains some software names
        #but no detailed information about the software installed for that user

src/p/r/Products.MimetypesRegistry-2.0.5/Products/MimetypesRegistry/mime_types/windows_mimetypes.py   Products.MimetypesRegistry(Download)
def get_mime_types():
    try:
        hk = win32api.RegOpenKey(win32con.HKEY_CLASSES_ROOT,
                                 r"MIME\Database\Content Type")
        items = win32api.RegEnumKeyEx(hk)

src/w/i/WinSys-3.x-0.5.2/winsys/tests/test_registry.py   WinSys-3.x(Download)
def remove_key (root, key):
  hkey = win32api.RegOpenKey (root, key)
  for name, reserved, klass, last_written in win32api.RegEnumKeyEx (hkey):
    remove_key (hkey, name)
  win32api.RegDeleteKey (root, key)

src/w/i/winsys-HEAD/winsys/tests/test_registry.py   winsys(Download)
def remove_key(root, key):
    hkey = win32api.RegOpenKeyEx(root, key, 0, win32con.KEY_ALL_ACCESS)
    for name, reserved, klass, last_written in win32api.RegEnumKeyEx(hkey):
        remove_key(hkey, name)
    win32api.RegDeleteKey(root, key)