like this? Code: #!/usr/bin/python import datetime seconds = int(float(open('/proc/uptime').read().split()[0])) print str(datetime.timedelta\x00(0, seconds))[:-3]
#!/usr/bin/python import datetime seconds = int(float(open('/proc/uptime').read().split()[0])) print str(datetime.timedelta\x00(0, seconds))[:-3]
#!/usr/bin/python import datetime seconds = int(float(open('/proc/uptime').read().split()[0])) print str(datetime.timedelta(0, seconds))[:-3]+chr(0)