python take out spaces re split() code example
Example: split string by spaces python
"many fancy word \nhello \thi".split()
['many', 'fancy', 'word', 'hello', 'hi']
"many fancy word \nhello \thi".split()
['many', 'fancy', 'word', 'hello', 'hi']