Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/litongjava/doc-search
https://github.com/litongjava/doc-search
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/litongjava/doc-search
- Owner: litongjava
- License: mit
- Created: 2023-10-15T15:32:00.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-15T15:48:32.000Z (about 1 year ago)
- Last Synced: 2023-10-16T15:54:42.600Z (about 1 year ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# doc-search
## introduction
在日常办公和文档处理中,我们常常需要在大量的Word文档中查找特定的关键字,然后进行接下来的操作,比如关键字替换等。手动逐个打开并搜索文档显然是费时费力的。因此,利用Python编写一个批量实现Word中查找关键字的程序可以大大提高效率和减少工作负担。## usage
1. 使用长名称:
```
python main.py --path "F:\document\dev-docs\05_Android" --keywords "keyword1, keyword2, keyword3"
```2. 使用简写:
```
python main.py -p "F:\document\dev-docs\05_Android" -k "keyword1, keyword2, keyword3"
```