This repository is dedicated to automating repetitive tasks using Python. It provides step-by-step instructions and practical examples for working with files, performing pattern matching, web scraping, and even GUI automation. Whether you're a beginner or an experienced programmer, this repository will help you harness Python's powerful automation capabilities.
To begin using this repository, ensure Python is installed on your system. Follow the steps below:
- Download Python from the official Python website.
- Install Python and ensure to check the box for "Add Python to PATH."
- Verify the installation by running:
python --version
- Install
pip(Python's package manager) if it's not already included. - Create a virtual environment for the project:
python -m venv automation-env
- Activate the virtual environment:
- On Windows:
.\automation-env\Scripts\activate
- On macOS/Linux:
source automation-env/bin/activate
- On Windows:
- Install required modules:
pip install -r requirements.txt
- re - For working with regular expressions.
- os, shutil - For organizing and manipulating files.
- logging - For debugging.
- requests, beautifulsoup4 - For web scraping.
- openpyxl - For working with Excel spreadsheets.
- PyPDF2, python-docx - For working with PDF and Word documents.
- csv, json - For handling CSV files and JSON data.
- schedule, subprocess - For scheduling tasks and launching programs.
- smtplib, twilio - For sending emails and text messages.
- Pillow (PIL) - For image manipulation.
- pyautogui - For GUI automation.
To install all required modules, use the following command:
pip install re requests beautifulsoup4 openpyxl PyPDF2 python-docx Pillow pyautogui schedule twilio