README.md aktualisiert

This commit is contained in:
Tim Müller 2024-08-30 08:58:51 +00:00
parent 0d6c2dec85
commit 08681a2b78

View File

@ -18,11 +18,13 @@ This repository provides scripts for processing Word templates (.dotx) by search
1. **Setup the Environment:** 1. **Setup the Environment:**
Run the `setup_environment.py` script to ensure `pip` and required packages are installed: Run the `setup_environment.py` script to ensure `pip` and required packages are installed:
```bash py setup_environment.py` ```bash py setup_environment.py`
2. **Run the Processor Script:** 2. **Run the Processor Script:**
Execute the `dotx_processor.py` script to process Word templates: Execute the `dotx_processor.py` script to process Word templates:
```bash py dotx_processor.py` ```bash py dotx_processor.py`
3. **Follow the Prompts:** 3. **Follow the Prompts:**
@ -37,11 +39,13 @@ The script will prompt you for the following inputs:
## Example Usage ## Example Usage
1. Run the setup script to ensure the environment is prepared: 1. Run the setup script to ensure the environment is prepared:
```bash py setup_environment.py` ```bash py setup_environment.py`
This command will install `pip` if it is not already installed and then use it to install the necessary Python packages (`pywin32`). This command will install `pip` if it is not already installed and then use it to install the necessary Python packages (`pywin32`).
2. Run the processing script to start modifying your `.dotx` files: 2. Run the processing script to start modifying your `.dotx` files:
```bash py dotx_processor.py` ```bash py dotx_processor.py`
After running this command, follow the on-screen prompts to specify the directories and text replacement details. After running this command, follow the on-screen prompts to specify the directories and text replacement details.