Progress Bars in python

2006-07-12 Thread Hari Sekhon
Hi, I've written a script which backs up a huge bunch of files, but I don't want the script to output the file names as it does this as it clutters the screen, I only output errors. So in order to see that the script is working and not stuck, I'd like to implement some kind of progress bar

Re: Progress Bars in python

2006-07-12 Thread Fredrik Lundh
Hari Sekhon wrote: I've written a script which backs up a huge bunch of files, but I don't want the script to output the file names as it does this as it clutters the screen, I only output errors. So in order to see that the script is working and not stuck, I'd like to implement some kind

Re: Progress Bars in python

2006-07-12 Thread skip
Hari So in order to see that the script is working and not stuck, I'd Hari like to implement some kind of progress bar or something, ... Here's mine: http://orca.mojam.com/~skip/python/progress.py There are both Progress and Counter classes. Same idea, different output. Skip --

Re: Progress Bars in python

2006-07-12 Thread Hari Sekhon
On 12/07/06, Fredrik Lundh [EMAIL PROTECTED] wrote: If the output of the script is sent to a logfile, this tends to puke all over the logfile... creating one additional entry per iteration, but it's a good start and I'll look at that link which looks very promising. there's no way to do this

Re: Progress Bars in python

2006-07-12 Thread Larry Bates
Hari Sekhon wrote: Hi, I've written a script which backs up a huge bunch of files, but I don't want the script to output the file names as it does this as it clutters the screen, I only output errors. So in order to see that the script is working and not stuck, I'd like to implement some