def _parse_key(key):
 splt = key.split('\\')
 hive = splt.pop(0)
 key = '\\'.join(splt)
 return (hive, key)

def _parse_key ( key ) : splt = key . split ( '\\' ) hive = splt . pop ( 0 ) key = '\\' . join ( splt ) return ( hive , key )
split the hive from the key .