import time


def print_elapsed_time_up_to_this_point(msg,start):
    """Returns elapsed time from start.
    Returns time from start until now to determine how long
    it took to run a particular piece of code.
    hh:mm:ss - msg
    """

    end = time.time()
    elapsed = end - start
    m, s = divmod(elapsed, 60)
    h, m = divmod(m, 60)
    formatted_elapsed = "%d:%02d:%02d" % (h,m,s)
    return formatted_elapsed+" -- "+msg