-->

随笔分类 -  python

摘要:1.安装 FastAPI 和 Uvicorn: pip install fastapi uvicorn 2.创建FastAPI 应用。main.py: from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): 阅读全文
posted @ 2024-05-11 10:06 Zain·Wilson 阅读(156) 评论(0) 推荐(0)
摘要:[# python各版本国内镜像下载] python国内镜像各版本下载 https://registry.npmmirror.com/binary.html?path=python/ [# 设置pip为国内镜像源] pip config set global.index-url https://py 阅读全文
posted @ 2024-04-18 11:27 Zain·Wilson 阅读(112) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2024-04-16 12:10 Zain·Wilson 阅读(14) 评论(0) 推荐(0)