Re: help with multiprocessing pool

2011-01-27 Thread Craig Yoshioka
I did eventually get the original code to run from the command line but not the interpreter, so the new example does have a similar problem. Of course it's not as simple as saying I can't run an imported parallelized function from the interpreter because I can, as long as the parallelized funct

Re: help with multiprocessing pool

2011-01-27 Thread Philip Semanchuk
On Jan 27, 2011, at 1:12 PM, Craig Yoshioka wrote: > The code will be multi-platform. The OSXisms are there as an example, though > I am developing on OS X machine. > > I've distilled my problem down to a simpler case, so hopefully that'll help > troubleshoot. > > I have 2 files: > > test

Re: help with multiprocessing pool

2011-01-27 Thread Craig Yoshioka
The code will be multi-platform. The OSXisms are there as an example, though I am developing on OS X machine. I've distilled my problem down to a simpler case, so hopefully that'll help troubleshoot. I have 2 files: test.py: -- fro

Re: help with multiprocessing pool

2011-01-27 Thread Philip Semanchuk
On Jan 25, 2011, at 8:19 PM, Craig Yoshioka wrote: > Hi all, > > I could really use some help with a problem I'm having. Hiya Craig, I don't know if I can help, but it's really difficult to do without a full working example. Also, your code has several OS X-isms in it so I guess that's the

help with multiprocessing pool

2011-01-25 Thread Craig Yoshioka
Hi all, I could really use some help with a problem I'm having. I wrote a function that can take a pattern of actions and it apply it to the filesystem. It takes a list of starting paths, and a pattern like this: pattern = { InGlob('Test/**'):{ MatchRemove('DS_Store'