["python"]
Split a string with unknown number of spaces as separator in Python

I need a function similar to str.split(' ') but there might be more than one space, and different number of them between the meaningful characters. Something like this: s = ' 1234 Q-24 2010-11-29 563 abc a6G47er15 ' ss = s.magic_split() print(ss) # ['1234', 'Q-24', '2010-11-29', '563', 'abc', 'a6G47er15'] Can I somehow use regular expressions to catch those spaces in between?
If you don't pass any arguments to str.split(), it will treat runs of whitespace as a single separator: >>> ' 1234 Q-24 2010-11-29 563 abc a6G47er15'.split() ['1234', 'Q-24', '2010-11-29', '563', 'abc', 'a6G47er15']