code: def get_subkey(self,name):
          
          subkey = Key(name,self)
          try:
              hkey = subkey.hkey
          except WindowsError:
              raise AttributeError("subkey '%s' does not exist" % (name,))
          return subkey
docs: Retreive the subkey with the specified name.
  
          If the named subkey is not found, AttributeError is raised;
          this is for consistency with the attribute-based access notation.