使用aiohttp創建最簡單的web服務器

from aiohttp import web async def handle(request): name = request.match_info.get('name', "Anonymous") text = "Hello, " + name return web.Response(text=text) app = web.Application() app
相關文章
相關標籤/搜索