Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ main
Function
main
recipes/Python/498150_Example_For_winreg_1/recipe-498150.py:3–5 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1
from
winreg
import
*
2
3
def
main():
4
for
hive in Registry():
5
show_all(hive)
6
7
def
show_all(key, level=0):
8
if
level:
Callers
1
recipe-498150.py
File · 0.70
Calls
2
show_all
Function · 0.70
Registry
Class · 0.50
Tested by
no test coverage detected