随笔分类 -  Python

摘要:直接上代码 1 import re 2 from tool import mkdir 3 import requests 4 from bs4 import BeautifulSoup 5 6 7 def main(url): 8 msg = requests.get(url, headers=he 阅读全文
posted @ 2021-11-11 00:07 SmileBlog 阅读(451) 评论(0) 推荐(1) 编辑
摘要:from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello":"Word"} @app.get("/items/{item_id}") def read_item(item_id: 阅读全文
posted @ 2020-06-24 12:23 SmileBlog 阅读(245) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示