#NEWLINE# def example5( ) : #NEWLINE# #INDENT# widgets = [ 'Test: ' , Percentage ( ) , ' ' , Bar ( marker = '0' , left = '[' , right = ']' ) , ' ' , ETA ( ) ] #NEWLINE# pbar = ProgressBar ( widgets = widgets , maxval = 500 ) #NEWLINE# pbar . start ( ) #NEWLINE# for i in range ( 100 , ( 500 + 1 ) , 50 ) : #NEWLINE# #INDENT# time . sleep ( 0.2 ) #NEWLINE# pbar . update ( i ) #NEWLINE# #UNINDENT# pbar . finish ( ) #NEWLINE# print