Stopwatch - pause counter

2011-07-19 Thread Morten Klim
Hello everyone! I've started developing a little application for one of my friends, which he will use at work to measure his hours working + the time he has breaks. I wanna do this in python cause, I just started with this language and wanna get more fimiliar with it. Sometimes though, it's a bit o

Re: Stopwatch - pause counter

2011-07-19 Thread Morten Klim
Well that's exactly the problem. My attempt to make this work, made the counter go crazy and didn't care if it was paused or not. So for this for work properly, remove following: def _updatepause(self): self._elapsedpause = time.time() - self._pausestart self._setTime(self._elapsedp

Re: Stopwatch - pause counter

2011-07-19 Thread Morten Klim
On Jul 19, 8:55 pm, Terry Reedy wrote: > On 7/19/2011 6:41 AM, Morten Klim wrote: > > > > > > > > > > > Hello everyone! > > I've started developing a little application for one of my friends, > > which he will use at work to measure his hours