Re: [Pythonmac-SIG] Is this a reasonable way to do multiprocessing?

2011-04-19 Thread Lou Pecora
From: Nat Echols To: Lou Pecora Cc: pythonmac-sig@python.org Sent: Tue, April 19, 2011 1:39:27 PM Subject: Re: [Pythonmac-SIG] Is this a reasonable way to do multiprocessing? On Tue, Apr 19, 2011 at 10:11 AM, Lou Pecora wrote: But as many of you probably know that raises a pickle error. I did

Re: [Pythonmac-SIG] Is this a reasonable way to do multiprocessing?

2011-04-19 Thread Nat Echols
On Tue, Apr 19, 2011 at 10:11 AM, Lou Pecora wrote: > But as many of you probably know that raises a pickle error. I did a > little > research and don't fully understand, but I thought of a way around this > that is > pedestrian, but it works on my toy example. I just make (deep) copies of my >

[Pythonmac-SIG] Is this a reasonable way to do multiprocessing?

2011-04-19 Thread Lou Pecora
I have a calculation which runs via a method of a class. It is trivially parallelizable. The method is just called over and over with different arguments. No communication, synchronization, or cooperation is needed between the function calls. But it is highly computational and I want to speed

Re: [Pythonmac-SIG] custom framework with bridgesupport file

2011-04-19 Thread Ronald Oussoren
On 19 Apr, 2011, at 11:40, Georg Seifert wrote: > Hi, > > I have an app written in cocoa and run python scripts from within the app > using "PyRun_SimpleString" (I asked about that a couple of times and got > great help). > > My problem now is that I want to use some c functions from within a

[Pythonmac-SIG] custom framework with bridgesupport file

2011-04-19 Thread Georg Seifert
Hi, I have an app written in cocoa and run python scripts from within the app using "PyRun_SimpleString" (I asked about that a couple of times and got great help). My problem now is that I want to use some c functions from within a custom framework that is embedded in my app. The only way I cou