摘要: RuntimeError: There is no current event loop in thread 因为asyncio程序中的每个线程都有自己的事件循环,但它只会在主线程中为你自动创建一个事件循环。所以如果你asyncio.get_event_loop在主线程中调用一次,它将自动创建一个循 阅读全文
posted @ 2018-12-28 23:21 ALXPS 阅读(6816) 评论(9) 推荐(1) 编辑