QuestionQ30

VerifiedPython Basics

What is the result of running the following Python code?

Question Image

Explanation

subkeys() supplies the child registry keys, and path() returns each child key's path. Applying that function through map produces an iterator of the paths for every subkey under Microsoft\Windows NT\CurrentVersion.

Community Discussion

No comments yet. Be the first to start the discussion!