Functions | |
def | countdown_sleep (duration, stepsize=1, text="{}") |
def | round_tuple (tup, decimals) |
def scenario_test_tools.util.countdown_sleep | ( | duration, | |
stepsize = 1 , |
|||
text = "{}" |
|||
) |
Print the numbers of a countdown on the terminal in-place, without using a new line for each number :param duration: How long to count down :param stepsize: Time between steps :param text: What text to display each tick. Must include a format string, eg. 'launch in {}...'