在windows python2.7環(huán)境下還是同步的?
class?MainHandler(RequestHandler): ????@tornado.gen.coroutine ????def?get(self): ????????yield?tornado.gen.sleep(5) ????????self.write(str(datetime.datetime.now().now()))
跟老師一樣的代碼,三個(gè)網(wǎng)頁(yè)還是依次等了5秒,是環(huán)境問(wèn)題么?
2018-12-24
嗯嗯嗯嗯嗯嗯
2018-12-24
嗯嗯嗯
2018-12-19
以chrome 為例,?
打開(kāi) 開(kāi)發(fā)者工具, 選擇 Application , 然后 clear site data