Re: Recursing for Progress Bar

2006-09-18 Thread [EMAIL PROTECTED]
Makes perfect sense. Sometimes it takes being whacked to see it the right way. Thanks! Ben Finney wrote: > "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > > > Is there a way to get around recursion limits? Help! > > > > ~~ > > > > def incrementProgress

Re: Recursing for Progress Bar

2006-09-18 Thread [EMAIL PROTECTED]
DOLT! Thanks! Dennis Lee Bieber wrote: > On 18 Sep 2006 19:38:48 -0700, "[EMAIL PROTECTED]" > <[EMAIL PROTECTED]> declaimed the following in comp.lang.python: > > > > > Is there a way to get around recursion limits? Help! > > > Yes... restructure your code to not use recursion... > >

Re: Recursing for Progress Bar

2006-09-18 Thread Ben Finney
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > Is there a way to get around recursion limits? Help! > > ~~ > > def incrementProgress(self, window, workorder): > #... > time.sleep(.1) > self.incrementProgress(wi

Recursing for Progress Bar

2006-09-18 Thread [EMAIL PROTECTED]
I'm making a small interface for copying large groups of files around a filesystem. I have a progressbar that counts the items in the destination, and increments as each new file is copied over. It compares this number to the number of files in the source and updates accordingly. All is fine and