cuad
cuad copied to clipboard
Use pythons default split function
The default split function is better than splitting just on spaces. Consider the following two examples.
"The quick brown\n fox".split()
['The', 'quick', 'brown', 'fox']
vs
"The quick brown\n fox".split(" ")
['The', '', '', '', 'quick', 'brown\n', 'fox']