Re: how can I make it work?

2012-07-09 Thread Terry Reedy
On 7/8/2012 10:02 PM, self.python wrote: it's a finder using threading to accelerate Threading with Python does not accelerate unless all but one of the treads are i/o bound. You need multiple processes to use multiple cores in parallel. -- Terry Jan Reedy --

how can I make it work?

2012-07-08 Thread self.python
it's a finder using threading to accelerate but it never works.. and I have no idea why it doesn't work:( it doesn't work too after changing threading to multiprocessing.. how can I make it work? or at least I know what's the problem... plz help the poor newbie... import os,threading

Re: how can I make it work?

2012-07-08 Thread MRAB
On 09/07/2012 03:02, self.python wrote: it's a finder using threading to accelerate but it never works.. and I have no idea why it doesn't work:( it doesn't work too after changing threading to multiprocessing.. how can I make it work? or at least I know what's the problem... plz help the poor

Re: how can I make it work?

2012-07-08 Thread self.python
2012년 7월 9일 월요일 오전 11시 2분 41초 UTC+9, self.python 님의 말: it's a finder using threading to accelerate but it never works.. and I have no idea why it doesn't work:( it doesn't work too after changing threading to multiprocessing.. how can I make it work? or at least I know what's the problem

Re: how can I make it work?

2012-07-08 Thread self.python
can I make it work? or at least I know what's the problem... plz help the poor newbie... import os,threading,multiprocessing def finder(path,q): for x in os.walk(unicode(path)): if x[1]: for dirname in x[1]: if target in dirname.lower