Time logging tool, PYTHON