DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
remove empty strings from list python
without_empty_strings = [string for string in a_list if string != ""]
Source by www.kite.com #
PREVIOUS
NEXT
Tagged:
#remove
#empty
#strings
#list
#python
ADD COMMENT
Topic
COMMENT
Name
1+4 =
Submit