10 Python Automation Scripts
## What's Inside This is a collection of 10 ready-to-run Python scripts, each solving a real, repetitive task you probably deal with regularly. You're not getting a tutorial or a theoretical guide—you're getting working `.py` files you can open, modify, and run immediately. **The 10 scripts cover:** 1. **Batch File Renamer** – Rename hundreds of files at once using patterns, prefixes, or date stamps. Handles folders recursively. 2. **Folder Organizer by Type** – Automatically sorts files (images, documents, archives) into subfolders by extension or MIME type. 3. **Web Scraper for Price Tracking** – A lightweight scraper that pulls product prices and timestamps from any HTML table or list. Outputs to CSV. 4. **Automated Email Sender (SMTP)** – Send personalized emails to a list of recipients from a CSV. Works with Gmail, Outlook, or any SMTP server. 5. **Duplicate File Finder** – Detects exact duplicates by hash (MD5), not just filename. Lists them with paths. 6. **CSV Cleaner & Normalizer** – Removes empty rows, trims whitespace, standardizes date formats, and exports to a clean file. 7. **RSS Feed to Markdown Converter** – Fetches any RSS feed and converts posts to local Markdown files. Useful for offline reading or archiving. 8. **Image Resizer with Aspect Ratio Lock** – Resizes all images in a folder to a max width/height while keeping proportions. 9. **Log File Analyzer** – Scans app or server logs, counts error types, and outputs a summary report. 10. **Simple Backup Script** – Copies files from source to destination, with optional timestamped folders and log of what was copied. Each script is under 100 lines, uses only standard libraries (with one optional dependency for the scraper—`requests`), and includes inline comments explaining key lines. No external packages needed for 8 out of 10 scripts. ## How to Use You need Python 3.6 or newer installed on your system (Windows, macOS, or Linux). If you don't have it, download it from python.org—it's free and runs everywhere. **Realistic workflow:** 1. Download the ZIP file after purchase. Extract it anywhere on your computer. 2. Open a terminal (Command Prompt on Windows, Terminal on macOS/Linux) and `cd` into the extracted folder. 3. Run any script with `python scriptname.py`. For example: `python batch_rename.py` 4. Each script will prompt you for the folder path or file it should process. You can also edit the script to hardcode a path if you run it often. 5. Output files (renamed files, cleaned CSVs, logs) appear in the same folder or a new subfolder. If you want to schedule a script to run daily (e.g., the backup or RSS converter), use your operating system's task scheduler: Task Scheduler on Windows, `cron` on macOS/Linux. The scripts are designed to work without user interaction once you set the paths. No cloud accounts, no API keys, no subscriptions. You own the scripts and can modify them however you like. ## Who It's For These scripts are for: - **Freelancers and small-business owners** who waste time on manual file management, emailing clients, or organizing downloads. - **Students and researchers** who need to clean CSV data, rename experiment files, or convert RSS feeds to readable notes. - **Beginner Python users** who want real, practical scripts to study and adapt. Each script is simple enough to understand in 15 minutes, but useful enough to use daily. - **Anyone who hates repetitive computer tasks** and wants to learn automation without building everything from scratch. This is *not* for advanced developers who already have their own toolchain. It's also not for people looking for a "magic" solution that works without any setup—you will need to point the scripts to your files and occasionally edit a path. ## A Short, Honest Note - You will receive a ZIP file containing the 10 Python scripts and a short README. - The scripts were tested on Windows 10, macOS Ventura, and Ubuntu 22.04. They should work on any system with Python 3.6+. - Internet connection is required only for the web scraper and email sender (and the RSS converter, which fetches feeds). - Laws and regulations regarding automated email sending, web scraping, and data handling vary by country. For example, sending automated emails to people without consent may be restricted in the EU (GDPR) or similar regions. Web scraping may violate terms of service on some sites. It is your responsibility to ensure your use complies with local rules. - I cannot guarantee specific outcomes (e.g., "you'll save 10 hours a week") because your setup and workflow are unique. What I can guarantee is that each script does exactly what its description says—no more, no less. If you have a specific use case that isn't covered, feel free to reach out. I can't custom-write scripts for every buyer, but I'm happy to point you in the right direction for modification.
Get it → sunshine4255.gumroad.com