Re: Question related to multiprocessing.Process

2013-01-18 Thread Cen Wang
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 > &

Question related to multiprocessing.Process

2013-01-18 Thread Cen Wang
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() p.start() It just keeps printing 'x' on my command prompt and d