On 1/19/2013 12:05 AM, Chris Angelico wrote:
On Sat, Jan 19, 2013 at 3:50 PM, Cen Wang wrote:
Hi, when I use multiprocessing.Process in this way:
from multiprocessing import Process
class MyProcess(Process):
def __init__(self):
Process.__init__(self)
def run(self):
Thanks! It now works!
On Saturday, 19 January 2013 13:05:07 UTC+8, Chris Angelico wrote:
> On Sat, Jan 19, 2013 at 3:50 PM, Cen Wang wrote:
>
> > Hi, when I use multiprocessing.Process in this way:
>
> >
>
> > from multiprocessing import Process
>
> >
>
> > class MyProcess(Process):
>
> >
>
On Sat, Jan 19, 2013 at 3:50 PM, Cen Wang wrote:
> Hi, when I use multiprocessing.Process in this way:
>
> from multiprocessing import Process
>
> class MyProcess(Process):
>
> def __init__(self):
> Process.__init__(self)
>
> def run(self):
> print 'x'
>
> p = MyProcess()
>