You need to start the consumer and the producer in parallel, e.g. defining main like this: async def main(): queue = asyncio.
確定! 回上一頁