[posted and e-mailed]

In article <[email protected]>,
Minesh Patel  <[email protected]> wrote:
>
>Can you suggest any Python libraries for true parallelism or should I
>just stick with Python Threads or asyncore

Python threads are mostly only parallel for I/O (you have to write
special C code to release the GIL).  If you want parallel CPU in pure
Python, you should use e.g. the multiprocessing library.
-- 
Aahz ([email protected])           <*>         http://www.pythoncraft.com/

"Programming language design is not a rational science. Most reasoning
about it is at best rationalization of gut feelings, and at worst plain
wrong."  --GvR, python-ideas, 2009-3-1
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to