Displaying progress status?

Pearu Peterson pearu at ioc.ee
Fri Oct 6 09:10:44 EDT 2000


Hi!

Say, that I have a 'for' loop that takes lots of time to complete.
Do you know if there is a Python module that can display some kind of
progress information
for this situation. Something like this:

    for i in list:
        showprogress(100.0*i/len(list))
        #do something

and in terminal window I would see the following:

Status: |------>                                  |  [34% completed]

Thanks,
    Pearu





More information about the Python-list mailing list