This commit is contained in:
2018-11-21 08:08:23 +01:00
parent 882ac3a66e
commit 554fd8e1ca
11 changed files with 90 additions and 1325 deletions

View File

@@ -1,3 +1,4 @@
from __future__ import print_function
if __name__ == '__main__':
#Used to guarantee to use at least Wx2.8
import wxversion
@@ -29,7 +30,7 @@ class StopWatch():
@classmethod
def Log(cls,str=None,restart=True):
ts=time.time()
print '%.6f'%(ts-cls.ts),str
print('%.6f'%(ts-cls.ts),str)
if restart:
cls.ts=ts