Private
Public Access
1
0

removed UnderArmour / MapMyFitness

This commit is contained in:
Sander Roosendaal
2021-05-21 09:36:38 +02:00
parent 3d208527ee
commit b58ba932fd
22 changed files with 54 additions and 1527 deletions

View File

@@ -105,6 +105,15 @@ info_calls = [
import random
def dologging(filename,s):
tstamp = time.localtime()
timestamp = time.strftime('%b-%d-%Y %H:%M:%S', tstamp)
with open('filename','a') as f:
f.write('\n')
f.write(timestamp)
f.write(' ')
f.write(s)
def to_pace(pace):
minutes, seconds = divmod(pace,60)
seconds, rest = divmod(seconds, 1)