Skip to content

Commit 9a7cd81

Browse files
authored
added README.md
1 parent 296f670 commit 9a7cd81

File tree

1 file changed

+20
-0
lines changed
  • AUTOMATION/analyzing and writing .docx file

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Analyze any `.docx` file for bold, underlined, italicized text
2+
This program helps you find all the bold, underlined and italicized text in a word document.
3+
4+
First create a new folder and then create a file named `extract.py` inside it and copy paste the code to it.
5+
Then you need to install `python-docx`
6+
```bash
7+
$ pip install python-docx
8+
```
9+
Copy your word document for example, `process_design_notes.docx` into the current working directory(CWD).
10+
11+
The CWD should now have two files i.e. **extract.py** and **process_design_notes.docx**.
12+
13+
Open a terminal or command prompt in CWD and type
14+
```bash
15+
#for linux
16+
python3 extract.py process_design_notes.docx
17+
#for windows
18+
python extract.py process_design_notes.docx
19+
```
20+
After typing above command the program will execute on the word document and append the extracted bold, italicized, underlined words to it.

0 commit comments

Comments
 (0)