Re-writing uptime for python3 with more general outputhandling

This commit is contained in:
2016-12-08 11:49:33 +01:00
parent 41000e69b9
commit 80242ffb7c
4 changed files with 46 additions and 0 deletions

12
testUptime.py Executable file
View File

@@ -0,0 +1,12 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# @Author: KevinMidboe
# @Date: 2016-11-22 16:08:17
# @Last Modified by: KevinMidboe
# @Last Modified time: 2016-11-22 17:07:52
import uptime
if __name__ == '__main__':
uptimeClass = uptime.uptime()
print(uptimeClass)