I run the following:
from subprocess import call
call(["uptime"])
I get:
19:36:49 up 4 days, 5:58, 14 users, load average: 0.46, 0.32, 0.40
Question: I want to split this string into words (each separated by blankspace) so that I can check for a certain amount of load. How do I do this?
Many thanks!