MCPcopy Create free account
hub / github.com/ActiveState/code / recipe-496815.py

File recipe-496815.py

recipes/Python/496815_Getting_uptime_windows/recipe-496815.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1def uptime():
2 """Returns a datetime.timedelta instance representing the uptime in a Windows 2000/NT/XP machine"""
3 import os, sys
4 import subprocess

Callers

nothing calls this directly

Calls 1

uptimeFunction · 0.85

Tested by

no test coverage detected