Category Archives: Python

Split on Whitespace in Python

Whitespace is a character or set of characters that represents vertical or horizontal space.

The split function takes a single optional argument. If you use this function without a parameter, it separates words by single or series of whitespace characters, as long as there is no other character between them.

Continue reading