上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 50 下一页
摘要: 用法1 使用字典中的对应值替换字符串中的占位符 NAMESPACES = {'w': 'http://schemas.openxmlformats.org/wordprocessingml/2006/main'} def _name(name): """ 作用: 是使用字典中的对应值替换字符串中的占 阅读全文
posted @ 2024-08-17 16:41 tslam 阅读(11) 评论(0) 推荐(0)
摘要: chown: 改变文件或目录的所有者和所属组 阅读全文
posted @ 2024-08-14 23:50 tslam 阅读(21) 评论(0) 推荐(0)
摘要: 参考 import base64 # 读取文件内容并编码为Base64字符串 file_path = 'pdf_ceshi.docx' with open(file_path, 'rb') as file: file_data = file.read() file_base64_str = base 阅读全文
posted @ 2024-08-13 18:47 tslam 阅读(25) 评论(0) 推荐(0)
摘要: mobaxterm 使用文档参考: mobaxterm文档 - mobaxterm中文社区|mobaxterm下载 阅读全文
posted @ 2024-08-13 14:01 tslam 阅读(15) 评论(0) 推荐(0)
摘要: 1 某个源可能有问题时 可尝试的方法 2 阅读全文
posted @ 2024-08-08 18:10 tslam 阅读(11) 评论(0) 推荐(0)
摘要: 命令 ls -l 你要确认的文件路径 阅读全文
posted @ 2024-08-03 17:08 tslam 阅读(20) 评论(0) 推荐(0)
摘要: 是否能够手动下载该文件,例子: curl -s -L https://nvidia.github.io/libnvidia-container/stable/rpm/nvidia-container-toolkit.repo -o /tmp/nvidia-container-toolkit.repo 阅读全文
posted @ 2024-08-03 17:07 tslam 阅读(50) 评论(0) 推荐(0)
摘要: github参考: carboneio/carbone 参考2: Template creation documentation - Carbone Report Generator 阅读全文
posted @ 2024-07-30 22:33 tslam 阅读(16) 评论(0) 推荐(0)
摘要: 参考1 : github 搜索gotenberg 阅读全文
posted @ 2024-07-30 21:37 tslam 阅读(21) 评论(0) 推荐(0)
摘要: """依赖: 如公用的子函数 目的: 提高代码的复用率""" 0 from fastapi import Depends 1 函数作为依赖 2 类作为依赖 3 子依赖的创建和调用 4 路径参数中使用依赖 5 py文件公共依赖 6 全局依赖 阅读全文
posted @ 2024-07-21 10:00 tslam 阅读(12) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 50 下一页