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
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
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
--
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
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