python学习
Gouden_L
这个作者很懒,什么都没留下…
展开
-
fastapi使用记录
Fastapi基础快速应用 安装 pip install fastapi pip install uvicorn demo from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/api/") def read_item(sdfd: int, qwer: str = None): return {"sdfd": s原创 2021-09-16 14:39:56 · 181 阅读 · 0 评论 -
jupyter kernelgateway 使用
写完脚本在命令行运行这个就完事了 // jupyter kernelgateway --KernelGatewayApp.api=kernel_gateway.notebook_http --KernelGatewayApp.seed_uri=./my_example.ipynb --port=10100';原创 2021-09-15 10:01:24 · 752 阅读 · 0 评论