def unescape_encoded_uri_component(escaped_string):
 return urllib.unquote(escaped_string).decode('utf-8')

def unescape_encoded_uri_component ( escaped_string ) : return urllib . unquote ( escaped_string ) . decode ( 'utf-8' )
unescape a string that is encoded with encodeuricomponent .