update
This commit is contained in:
parent
1771ba8d0c
commit
951a0fa586
52
ReadMe.md
52
ReadMe.md
@ -1,34 +1,44 @@
|
||||
## 功能列表
|
||||
|
||||
- 根据上一周的周报,自动生成这周的周报。
|
||||
> 替换对应的日期,不会修改工作内容
|
||||
>
|
||||
- 根据指定的模板和参数,自动生成这周的周报。以下字段会更新
|
||||
- 工作周
|
||||
- 日期
|
||||
- 所在项目
|
||||
- 项目负责人
|
||||
- 报告人
|
||||
- 删除上周工作内容、额外工作记录情况、工作完成情况、困难问题、经验教训及建议、下周工作重点
|
||||
- 若已经存在同名文档,则不执行
|
||||
- 添加 `auto_run_python.bat`,双击即可执行python脚本
|
||||
- 支持跨年
|
||||
- 支持
|
||||
|
||||
## 待添加功能
|
||||
## 快速开始
|
||||
|
||||
* [ ] 下周一也可以运行
|
||||
1. 安装依赖
|
||||
|
||||
## 运行程序
|
||||
```powershell
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
1. ```powershell
|
||||
python gen_word.py
|
||||
```
|
||||
2. 双击 `auto_run_python.bat`
|
||||
2. 运行程序
|
||||
|
||||
```powershell
|
||||
python gen_word.py
|
||||
```
|
||||
|
||||
或双击 `auto_run_python.bat`
|
||||
|
||||
### 成功运行的log
|
||||
3. 生成桌面快捷方式
|
||||
|
||||
双击`创建桌面快捷方式.bat`
|
||||
|
||||
```powshell
|
||||
pre file name: 2023WW32周工作报告_冯博涵.doc;
|
||||
new file name: 2023WW33周工作报告_冯博涵.doc;
|
||||
已复制 1 个文件。
|
||||
pre_str: 8.7~8.11
|
||||
str: 8.14~8.18
|
||||
```
|
||||
## 其他
|
||||
|
||||
## 注意
|
||||
- 成功运行的log
|
||||
|
||||
1. `创建桌面快捷方式.bat`该文件是 `GBK`编码。
|
||||
```powshell
|
||||
2024-01-02 16:48:24,745 - c:\Users\fengbohan\Documents\周工作报告\gen_word.py - 50 -INFO: template_file_name: 2017WWXX周工作报告样本.doc
|
||||
2024-01-02 16:48:24,745 - c:\Users\fengbohan\Documents\周工作报告\gen_word.py - 51 -INFO: new file name: 2024WW01周工作报告_冯博涵.doc;
|
||||
2024-01-02 16:48:24,745 - c:\Users\fengbohan\Documents\周工作报告\gen_word.py - 58 -INFO: process: copy file ...
|
||||
2024-01-02 16:48:24,763 - c:\Users\fengbohan\Documents\周工作报告\gen_word.py - 62 -INFO: process: open file ...
|
||||
2024-01-02 16:48:25,550 - c:\Users\fengbohan\Documents\周工作报告\gen_word.py - 71 -INFO: process: edit file ...
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user