Hi Philip,
multiprocessing.Queue is used to transfer data between processes, how
it could be helpful for solving my problem? Thanks!
Sheng
On Mar 8, 6:34 pm, Philip Semanchuk wrote:
> On Mar 8, 2011, at 3:25 PM, Sheng wrote:
>
> > This looks like a tornado problem, but trust me,
This looks like a tornado problem, but trust me, it is almost all
about the mechanism of multiprocessing module.
I borrowed the idea from http://gist.github.com/312676 to implement an
async db query web service using tornado.
p = multiprocessing.Pool(4)
class QueryHandler(tornado.web.RequestHandl
I am having a weird problem on IDLE. After I plot something using show
() of matplotlib, the python shell prompt in IDLE just freezes that I
cannot enter anything and there is no new ">>>" prompt show up. I
tried ctrl - C and it didn't work. I have to restart IDLE to use it
again.
My system is Ubu