[Tutor] running process in parallel
Daniel Ehrenberg
littledanehren at yahoo.com
Mon Oct 27 21:35:55 EST 2003
> I want to run some script files in different
> directory all at a time that is
> running process in parallel .Is it possible?
>
> * kamariah lamim [2003-10-27
> 12:31]:
> >Hi ;
> > i want to call and execute other programs
> parallely from python.is that
> >possible.?what tools do i need?
>
> What type of programs and what do you mean by
> "Parallely"? You can use
> os.fork or many of its variants to start child
> processes. What else are
> you looking for?
>
> --
> David Rock
> david @ graniteweb.com
Funny, the version of Python I'm using (2.3.2-1)
doesn't have os.fork. Here's the input and output in
case I interpreted something incorrectly:
>>> import os
>>> os.fork
Traceback (most recent call last):
File "<input>", line 1, in ?
AttributeError: 'module' object has no attribute
'fork'
Daniel Ehrenberg
__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/
More information about the Tutor
mailing list