A simple Python tool to clean up txt_files by removing duplicate lines while preserving the order. The tool removes duplicate lines within the txt_file and saves the cleaned result to a new txt_file.
- Removes duplicate lines within a txt_file to create a clean, organized version
- Preserves the original line order while filtering out duplicates
- Fork the repo by clicking the fork logo on the top right
- Clone the repo
git clone [email protected]:AseanK/beginner-python-tools-and-games.git
- Head to the remove_duplicates folder
- Run the file using python command
python main.py <input_file> <output_file>