错误提示如下

RuntimeError: This event loop is already running  asyncio-新乡seo|网站优化,网站建设_微信公众号:zeropython—昊天博客

运行的是如下的代码

在网上搜索的解决方法:

添加如下两行代码:

RuntimeError: This event loop is already running  asyncio-新乡seo|网站优化,网站建设_微信公众号:zeropython—昊天博客