https://github.com/basemax/multifile-text-converter
A Python script to replace Persian/Arabic text content in multiple files with random IDs, creating an Excel mapping.
https://github.com/basemax/multifile-text-converter
arabic csv excel persian py python replace-text replacement
Last synced: 9 months ago
JSON representation
A Python script to replace Persian/Arabic text content in multiple files with random IDs, creating an Excel mapping.
- Host: GitHub
- URL: https://github.com/basemax/multifile-text-converter
- Owner: BaseMax
- License: gpl-3.0
- Created: 2023-12-12T08:12:54.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-05T08:14:28.000Z (about 2 years ago)
- Last Synced: 2025-08-19T06:01:43.819Z (10 months ago)
- Topics: arabic, csv, excel, persian, py, python, replace-text, replacement
- Language: Python
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MultiFile Text Converter
A Python script to replace Persian/Arabic text content in multiple files with random IDs, creating an Excel mapping.

## Features
- **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.
## Usage
Clone the repository:
```bash
git clone https://github.com/basemax/Text-Content-Replacer.git
```
Install the necessary libraries (if required):
```bash
pip install pandas
```
Run the script:
```bash
python replace.py
```
Check the generated `all_texts.xlsx` file for the mapping of replaced text content.
## Requirements
- Python 3.x
- Pandas
Copyright 2023, Max Base