(url: str)
return url.split('/')[-1] if len(url) > 0 else ''
Extract file name from url.

    :param url: URL to extract file name from.
    :return: File name.
Extract file name from url.
Extract file name from url .
def url_file_name(url: str) -> str:
    """
    Extract file name from url.

    :param url: URL to extract file name from.
    :return: File name.
    """
    return url.split('/')[-1] if len(url) > 0 else ''
def url_file_name ( url : str ) -> str : return url . split ( '/' ) [ - 1 ] if len ( url ) > 0 else ''