how to split line to exclude whitespace and punctuation python code example
Example: clean punctuation from string python
s.translate(str.maketrans('', '', string.punctuation))
s.translate(str.maketrans('', '', string.punctuation))