def start_task ( self , task ) : self . info ( "Calculating {}..." . format ( task ) ) self . tasks [ task ] = self . timer ( )
measure start of task in python
Begin logging of a task
def start_task(self, task):
        """Begin logging of a task

        Stores the time this task was started in order to return
        time lapsed when `complete_task` is called.

        Parameters
        ----------
        task : str
            Name of the task to be started
        """
        self.info("Calculating {}...".format(task))
        self.tasks[task] = self.timer()