This task is about automating a small real-life repetitive process using Python.
I chose to build a simple script that extracts all email addresses from a text file and saves them to another file.
- Reads content from a
.txtfile. - Uses regular expressions to find valid email addresses.
- Removes duplicate emails.
- Saves the extracted results to a new
.txtfile. - Simple and fast — runs directly from the terminal.
os— for file operations.re— for pattern matching and email extraction.file handling— for reading and writing text files.- (Optional)
shutilorrequests— for other automation tasks.
- Clone this repository:
git clone https://github.com/Farzand-Ali16/CodeAlpha_Automation.git