On 17/11/2010 22:49, Tim Harig wrote:
On 2010-11-17, MRAB<pyt...@mrabarnett.plus.com> wrote:
When a user starts, save the info in the first dict, and when a user
finishes, calculate the elapsed time and add it to the total for that
user.
Perhaps you know more about the structure of this data. It seems to me
that a user might have more then a single job(?) running at once. I
therefore made the assumption that each start must be matched to its
coorisponding stop.
I did make certain assumptions. It's up to the OP to adapt it to the
actual problem accordingly. :-)
--
http://mail.python.org/mailman/listinfo/python-list