A Python script to replace Persian/Arabic text content in multiple files with random IDs, creating an Excel mapping.
- Text Replacement: Identify and replace Persian/Arabic text with random IDs.
- File Iteration: Processes all files in the current directory except Python files.
- Excel Output: Generates an Excel file mapping IDs to original text content.
Clone the repository:
git clone https://github.com/basemax/Text-Content-Replacer.git
Install the necessary libraries (if required):
pip install pandas
Run the script:
python replace.py
Check the generated all_texts.xlsx
file for the mapping of replaced text content.
- Python 3.x
- Pandas
Copyright 2023, Max Base