remove empty strings from list `str_list`,str_list = list([_f for _f in str_list if _f])