TAAFT
Free mode
100% free
Freemium
Free Trial
Deals

BaseMax / MultiFile-Text-Converter

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

0 0 Language: Python License: GPL-3.0 Updated: 2y ago

README

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

0 AIs selected
Clear selection
#
Name
Task