def remove_tmp_prefix_from_file_path(file_path):
    """
    Remove tmp prefix from file path or url.
    """
    path, filename = os.path.split(file_path)
    return os.path.join(path, remove_tmp_prefix_from_filename(filename)).replace('\\', '/')
def remove_tmp_prefix_from_file_path ( file_path ) : path , filename = os . path . split ( file_path ) return os . path . join ( path , remove_tmp_prefix_from_filename ( filename ) ) . replace ( '\\' , '/' )
Remove tmp prefix from file path or url.