Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

CodeAlpha Task Automation Utility

A professional automation toolkit built for the CodeAlpha internship. This project provides multiple automation scripts to handle repetitive real-life tasks like file organization, data extraction, and web scraping.

Features

  • File Organizer: Automatically scans a directory and moves image files (.jpg, .jpeg, .png) into an organized "Organized_Images" folder using os and shutil.
  • Email Extractor: Scans any .txt file for email addresses using regular expressions (re) and saves the results to a structured output file.
  • Web Title Scraper: Fetches the HTML content of a fixed webpage using requests and extracts the page title.
  • Unified Interface: An easy-to-use CLI to choose which automation task to run.

Concepts Used

  • os & shutil: For directory scanning and file movement.
  • re (Regular Expressions): For pattern matching and data extraction.
  • requests: For network requests and web scraping.
  • File Handling: For reading source data and writing logs/reports.

How to Run

  1. Install dependencies:
    pip install requests
  2. Navigate to the project directory:
    cd CodeAlpha_Task_Automation
  3. Run the automation suite:
    python main.py

Project Structure

  • main.py: Interactive CLI entry point.
  • automation_tasks.py: Module containing the logic for each specific task.
  • sample_data/: A folder containing dummy files for testing the automation.

Created as part of the CodeAlpha Internship Program.