import os print os.popen('systeminfo | find "System Boot Time"').read()