def get_progress(iteration, total, prefix='', suffix='', barLength=30):
    """
    get progress bar for showing.
    """
    percents = '{0:.1f}'.format(100 * (iteration / float(total)))
    filledLength = int(round(barLength * iteration / float(total)))
    bar = '█' * filledLength
    return '{} {} {}%'.format(prefix, bar, percents)
