On 08/25/2010 12:06 PM, Paul McNett wrote: > On 8/25/10 11:26 AM, Jeff Johnson wrote: > >> Thanks Paul! One more question... is there any problem calling the >> above routine about 25 times in a row? IOW will it wait while >> outputting a file before outputting the next one? >> > It will run them sequentially unless you provide for multi-thread or > multi-process > processing. If you want your UI to remain responsive while this stuff runs, > then I'd > consider making it a completely separate process which you spawn using the > subprocess > module. You could have a timer fire every 10 seconds or so to poll for a file > semaphore somewhere to then present the status screen to the user when the > other > process finishes. > > There are plenty of ways to handle this, but the simplicity of the above > approach > appeals to me. > > Paul > > > > Thanks Paul. I agree simple is better.
-- Jeff --------------- Jeff Johnson [email protected] (623) 582-0323 www.san-dc.com _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
