removed unneeded dependencies
This commit is contained in:
parent
a47eea6308
commit
c6d9a2a4be
|
@ -1,7 +1,8 @@
|
||||||
#!/bin/env python3
|
#!/bin/env python3
|
||||||
from time import localtime, sleep, struct_time, time
|
import time
|
||||||
import datetime
|
import datetime
|
||||||
import sys
|
import sys
|
||||||
|
import time
|
||||||
|
|
||||||
|
|
||||||
class stopwatch:
|
class stopwatch:
|
||||||
|
@ -17,7 +18,7 @@ class stopwatch:
|
||||||
text1 = ("elapsed:\t%s" % elapsed)
|
text1 = ("elapsed:\t%s" % elapsed)
|
||||||
sys.stdout.write('\r' + str(text0+"\t\t"+text1) + "\t" * 3)
|
sys.stdout.write('\r' + str(text0+"\t\t"+text1) + "\t" * 3)
|
||||||
sys.stdout.flush()
|
sys.stdout.flush()
|
||||||
sleep(1)
|
time.sleep(1)
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue