(item: str)
return CONTEXT_SHORTCUTS[item]
Converts a verbose type into a registry path.

    For example, 'FILES' -> 'Software\\Classes\\*\\shell'
Converts a verbose type into a registry path.
Converts a verbose type into a registry path .
def context_registry_format(item: str) -> 'registry path to the desired type':
    '''
    Converts a verbose type into a registry path.

    For example, 'FILES' -> 'Software\\Classes\\*\\shell'
    '''
    item = item.upper()
    if '.' in item:
        return os.path.join(CONTEXT_SHORTCUTS['FILELOC'], item.lower(), 'shell')
    return CONTEXT_SHORTCUTS[item]
def context_registry_format ( item : str ) -> 'registry path to the desired type' : item = item . upper ( ) if '.' in item : return os . path . join ( CONTEXT_SHORTCUTS [ 'FILELOC' ] , item . lower ( ) , 'shell' ) return CONTEXT_SHORTCUTS [ item ]