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

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

src/p/y/pyforensics-HEAD/registry_info.py   pyforensics(Download)
        access = win32con.KEY_READ | win32con.KEY_ENUMERATE_SUB_KEYS | win32con.KEY_QUERY_VALUE
        hkey = win32api.RegOpenKey(key, path, 0, access)
        num = win32api.RegQueryInfoKeyW(hkey)
 
    except Exception, e:
                eKey = win32api.RegEnumKey(hkey,n)
                hKey = win32api.RegOpenKey(key, path+"\\"+eKey, 0, access)
                mod_time = win32api.RegQueryInfoKeyW(hKey)["LastWriteTime"]
                print '"' + hive + "\\" + path + "\\" + eKey + '",', '"' + str(mod_time) + '"'
            except: