随笔分类 - python
摘要:a_string = "A string is more than its parts!" matches = ["more", "wholesome", "milk"] if any(x in a_string for x in matches): 如果是 判断 多个字符串 全部在 a_strin
阅读全文
摘要:1. 首先 服务器 本地 都 git clone 相同代码 2.配置 pycharm ctrl+shift+s 搜索 python interpreter ,点右边的小齿轮 弹出框内点添加 SSH Interpreter 选择服务器里面 的 python 版本 和 对应 项目的路径 配置完点击确定
阅读全文
摘要:原因是 配置 fastapi 跨域的时候 只给了 get 允许跨域,别的 没有 开…… (复制的官网的代码 ) 只要把这个放出来就行啦
阅读全文