if you understand regular expressions you should know the following:
\s
: whitespace characters
\S
: non-whitespace characters
+
: at least one of the previous capture.
script:
>>> import re
>>> s = '1df34343 43434sebb READY '
>>> ms = re.match(r"(\S+ \S+)\s+(\S+)\s+", s)
>>> ms.groups()
('1df34343 43434sebb', 'READY')
>>> ms.group(1)
'1df34343 43434sebb'
>>> ms.group(2)
'READY'
you can even have a more functional regex which can be used if you ever need a more detailed parse of what you have:
>>> ms = re.match(r"((\S+) (\S+))\s+(\S+)\s+", s)
>>> ms.groups()
('1df34343 43434sebb', '1df34343', '43434sebb', 'READY')
>>> ms.group(1)
'1df34343 43434sebb'
>>> ms.group(2)
'1df34343'
>>> ms.group(3)
'43434sebb'
>>> ms.group(4)
'READY'