multithreading in python ???

mimi.vx mimi.vx at gmail.com
Thu Jul 3 07:00:19 EDT 2008


On Jul 3, 12:40 pm, Laszlo Nagy <gand... at shopzeus.com> wrote:
> Abhishek Asthana wrote:
>
> > Hi all ,
>
> > I  have large set of data computation and I want to break it into
> > small batches and assign it to different threads .I am implementing it
> > in python only. Kindly help what all libraries should I refer to
> > implement the multithreading in python.
>
> You should not do this. Python can handle multiple threads but they
> always use the same processor. (at least in CPython.) In order to take
> advantage of multiple processors, use different processes.
>
>   L

or use parallelpython module, very good in multi processor|
multimachine prog. in python



More information about the Python-list mailing list