Skip to content

A Python script to replace Persian/Arabic text content in multiple files with random IDs, creating an Excel mapping.

License

Notifications You must be signed in to change notification settings

BaseMax/MultiFile-Text-Converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MultiFile Text Converter

A Python script to replace Persian/Arabic text content in multiple files with random IDs, creating an Excel mapping.

MultiFile Text Converter

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:

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.

Requirements

  • Python 3.x
  • Pandas

Copyright 2023, Max Base

About

A Python script to replace Persian/Arabic text content in multiple files with random IDs, creating an Excel mapping.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published