run function in separate process
malkarouri at gmail.com
malkarouri at gmail.com
Wed Apr 11 15:30:31 EDT 2007
On Apr 11, 4:36 pm, malkaro... at gmail.com wrote:
[...]
> .. And I avoided pickle at the time
> because I had a structure that was unpicklable (grown by me using a
> mixture of python, C, ctypes and pyrex at the time). The structure is
> improved now, and I will go for the more standard approach..
Sorry, I was speaking about an older version of my code. The code is
already using pickle, and yes, cPickle is better.
Still trying the code. So far, after modifying the line:
cPickle.dump(f, -1)
to:
cPickle.dump(result, f, -1)
it is working.
Regards,
Muhammad
More information about the Python-list
mailing list