@staticmethod<EOL><INDENT>def echo(transferred, toBeTransferred, suffix='<STR_LIT>'):<DEDENT>
bar_len = <NUM_LIT>                <EOL>rate = transferred/float(toBeTransferred)<EOL>filled_len = int(round(bar_len * rate))<EOL>_percents = "<STR_LIT>" %(round(<NUM_LIT> * rate, <NUM_LIT:1>), "<STR_LIT:%>")<EOL>end_str = "<STR_LIT:\r>"<EOL>_bar = '<STR_LIT:=>' * filled_len + '<STR_LIT:->' * (bar_len - filled_len)<EOL>print("<STR_LIT>" %(_bar, _percents, suffix, end_str))<EOL>
usage:
            for i in range(101):
                ProgressBarUtils.echo(i,100)