This Python project is a simple script for finding duplicate lines in a text file.
These instructions will help you set up and run the project on your local machine.
- Python 3.9
-
Clone the repository:
git clone https://github.com/vasigorc/duplicate_lines_finder
-
Navigate to the project directory:
cd duplicate-lines-finder
-
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment:
# On Windows venv\Scripts\activate # On macOS/Linux source venv/bin/activate
To find duplicate lines in a file, run the following command from the project home:
python src/find_duplicate_lines.py
Follow the on-screen instructions to enter the path to the file you want to check for duplicate lines.