def __enter__(self):
    'Python context manager support for use in with statement (on enter).'
    self.start = time.time()
    return self
Python context manager support for use in with statement (on enter).
def __enter__(self):
    
    self.start = time.time()
    return self