print_progress Print out a progress bar for iterations by calling print_progress(length) with the length of the whole iteration as the only argument.