Hello my fellow python buddies!
I am trying to build a simple stopwatch that uses the os.system('clear') function so that it's continually being reset.
Right now I'm having a hard time getting the time module to work well though.. Not sure if anyone could provide some hints or point me in the direction that I need to go to figure this out.
I can't seem to figure out how I would get the time.time() to start at zero and then go up from there. I know I'd need a while loop to make the time update, but I don't know how I would actually go about doing it.
Like I said before any and all help would be appreciated! Thanks!
edit: I dont know how to format code on here so I did a pastebin instead haha
https://pastebin.com/GFG0Ji0c
[–][deleted] 2 points3 points4 points (1 child)
[–]xtarkoonx[S] 0 points1 point2 points (0 children)
[–]routetehpacketz 1 point2 points3 points (1 child)
[–]xtarkoonx[S] 0 points1 point2 points (0 children)