DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
4+1 =
Submit