Welcome to the Text Processing Tool – a modern, multi-functional GUI application built with Python and Tkinter, designed for efficient text file processing. This tool allows you to manage .txt
files, remove duplicate lines and words, and filter out lines containing specific words, all in a sleek, user-friendly interface. 🎉
The Text Processing Tool offers a robust solution for managing and processing text files. It provides multiple tabs for different tasks such as:
- Selecting and managing text files 📂
- Merging files and removing duplicate lines 🔍
- Filtering out lines containing user-specified words 🚫
- Removing duplicate words within each line 🧹
Built with modular functions and a modern GUI using ttk.Notebook
, this tool is both powerful and easy to use. Perfect for developers, researchers, and anyone who needs to process large amounts of text data effortlessly.
- Modern GUI: Clean and responsive interface powered by
ttk
and themed for a modern look. ✨ - Multi-Tab Layout: Separate tabs for each feature to streamline your workflow.
- File Management: Easily add, view, and clear multiple
.txt
files. 📁 - Duplicate Line Removal: Merge files and remove duplicate lines while preserving order. 🔄
- Line Filtering: Delete lines containing specified words input manually. 📝❌
- Duplicate Word Removal: Clean up each line by removing duplicate words. ✂️
- User-Friendly: Intuitive operations with prompts and messages for a seamless experience. 😊
-
Clone the repository:
git clone https://github.com/kubaam/Text-Master-360-py.git cd Text-Master-360-py
-
Install dependencies:
- This tool uses only Python's standard library, so no additional packages are required beyond Python itself. 👍
-
Run the application:
python main.py
-
Select Text Files:
- Navigate to the TXT Files tab.
- Click Add Files to select and load
.txt
files. - Use Clear List to remove selected files from the list.
-
Remove Duplicate Lines:
- Go to the Remove Duplicate Lines tab.
- Click the button to merge files and remove duplicate lines.
- Choose a location to save the processed output.
-
Filter Lines by Words:
- Switch to the Filter Lines by Words tab.
- Enter comma-separated words to filter out lines.
- Click the Filter Lines button and save the result.
-
Remove Duplicate Words:
- In the Remove Duplicate Words tab, click the button to clean duplicate words within each line.
- Save the processed file when prompted.
The tool processes the files selected in the TXT Files tab, applying the chosen operation. Save outputs to new files easily using the prompts provided. 💾
Contributions, issues, and feature requests are welcome! Feel free to check the issues page if you want to contribute.
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Feel free to contribute or report bugs via GitHub. Pull requests are welcome!
If you appreciate this tool, you can support its development by donating here:
PayPal - Jakub Ambrus
Distributed under the MIT License. See LICENSE for more information.
Made with ❤️ by Ambry 🎨✨