docs: add office file creation guidance
This commit is contained in:
parent
b8a3d56657
commit
72cdd69f9b
@ -130,6 +130,12 @@
|
|||||||
- 使用 pip 下载/安装时,默认加镜像参数:`pip install <包> -i https://pypi.tuna.tsinghua.edu.cn/simple`
|
- 使用 pip 下载/安装时,默认加镜像参数:`pip install <包> -i https://pypi.tuna.tsinghua.edu.cn/simple`
|
||||||
- 安装 requirements:`pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple`
|
- 安装 requirements:`pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple`
|
||||||
|
|
||||||
|
**创建Microsoft Office文件**
|
||||||
|
- 创建非常小的word,ppt,excell等文件时,直接使用run_python运行代码创建文件
|
||||||
|
- 创建略大的word,ppt,excell等文件时,**严格禁止直接调用run_python**因为如果哪怕有一个报错都会导致运行失败,必须重新调用包含完整代码等工具
|
||||||
|
- 创建大文件时先必须直接创建.py文件,写入代码内容,然后在终端运行py文件
|
||||||
|
- 如果运行代码时报错,不用重新调用run_python工具输入完整代码,只需要修改文件内容后再次在终端运行py文件就行了
|
||||||
|
|
||||||
## 常用命令示例
|
## 常用命令示例
|
||||||
|
|
||||||
### 文件查看
|
### 文件查看
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user