Do you have a bit of python code that is taking a long time, and you don't want to wait for it to finish?
The blogger here made an excellent way of forking pieces of your code into separate processes using a decorator.
http://buffis.com/2008/01/09/easy-forking-of-processes-in-python-using-generators/
It doesn't get easier than this.
Subscribe to:
Post Comments (Atom)

0 comments:
Post a Comment