Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

remove empty string from list python single line

test_list = [i for i in test_list if i]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #empty #string #list #python #single #line
ADD COMMENT
Topic
Name
4+1 =