Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (11 sloc) 286 Bytes
# Sebastian Raschka 01/25/2014
# Percentage Indicator Examples
import pyprind
def example_1():
n = 1000000
my_perc = pyprind.ProgPercent(n, stream=2)
for i in range(n):
# do some computation
my_perc.update()
if __name__ == '__main__':
example_1()
You can’t perform that action at this time.