This repository provides scripts for processing Word templates (.dotx) by searching and replacing specific text within headers, footers, or the main text body. It includes a setup script to ensure all necessary Python packages are installed.
## Files
- **setup_environment.py**: This script checks if `pip` is installed, installs it if necessary, and then installs the required Python packages.
- **dotx_processor.py**: This script processes `.dotx` files in a specified directory, replacing specified text in headers, footers, or the main text.
## Requirements
- Python 3.x
- Microsoft Word installed
- Internet connection to install packages
## Usage
1.**Setup the Environment:**
Run the `setup_environment.py` script to ensure `pip` and required packages are installed: