Question: For example I have a sentence 

```
"He is so .... cool!"

```

Then I remove all the punctuation and make it in a list.

```
["He", "is", "so", "", "cool"]

```

How do I remove or ignore the empty string?

Answer: 
You can use a list comprehension:

```
cleaned = [x for x in your_list if x]

```

Although I would use regex to extract the words:

```
>>> import re
>>> sentence = 'This is some cool sentence with,    spaces'
>>> re.findall(r'(\w+)', sentence)
['This', 'is', 'some', 'cool', 'sentence', 'with', 'spaces']

```
You can filter out empty strings very easily using a list comprehension:

```
x = ["He", "is", "so", "", "cool"]
x = [str for str in x if str]
>>> ['He', 'is', 'so', 'cool']

```