[Tutor] Tracking time

Luke Paireepinart rabidpoobear at gmail.com
Wed Jan 24 23:46:52 CET 2007

Michael Key wrote:
> I am trying to develop a project tracking program that would allow you 
> to track hours and minutes spent on several different projects and 
> store he data in a database for printing. Any help would be appreciated.
You could store the start time using the time module.
when they're done with whatever you're timing,
get the current time again.
The difference between these two times is how long it took them to 
complete the task.
Decide on a database (oracle, postgre, mysql) and get the python library 
that lets you interface with your database and learn how to use it.
It's unclear what exactly a 'project' is from your e-mail so my reply is 
similarly vague, sorry.


More information about the Tutor mailing list