我试图在同一python应用程序中运行websockets服务器和http服务器 . 看起来我正在尝试运行两个永远的循环,第二个循环没有被激活 . 关于如何让这两台服务器都运行的任何建议?

httpd = HTTPServer(('localhost', 8000), SimpleHTTPRequestHandler)

httpd.serve_forever()
asyncio.get_event_loop().run_until_complete(
    websockets.serve(echo, 'localhost', 8001))
asyncio.get_event_loop().run_forever()