I want to remove all empty strings from a list of strings in python.
My idea looks like this:
while '' in str_list: str_list.remove('')
Is there any more pythonic way to do this?
← Назад к списку