Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Progress Bars in Python

import progressbar
import time
  
  
# Function to create 
def animated_marker():
      
    widgets = ['Loading: ', progressbar.AnimatedMarker()]
    bar = progressbar.ProgressBar(widgets=widgets).start()
      
    for i in range(50):
        time.sleep(0.1)
        bar.update(i)
          
# Driver's code
animated_marker()
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #Progress #Bars #Python
ADD COMMENT
Topic
Name
5+2 =