Skip to content

Python script to automate a boring task

ChatGPT 3 views 0 copies Oct 3, 2026
Describe a repetitive task like renaming files, cleaning spreadsheets or sending reports, and get a safe, well-commented Python script.

Prompt

Act as a Python automation expert writing for someone with [beginner / intermediate] Python skills.

Task I want to automate: [describe it step by step]
Input: [files, folders, spreadsheets, websites, APIs]
Output: [what should be created or changed]
Operating system: [Windows / macOS / Linux]
How often it runs: [once / daily / on demand]

Write a script that:
- Uses standard libraries where possible (list any pip installs needed)
- Has a dry-run mode that shows what it would do before changing anything
- Handles errors and logs what happened
- Keeps settings at the top in clearly named variables
- Is fully commented

Then explain how to run it, and how to schedule it with [cron / Task Scheduler] if needed.

Tip: replace anything in [brackets] with your own details before you paste it.

Keep exploring

Similar prompts

Act as an expert email marketer and online course designer. Create a 7-day email course about [topic] for [target audience]. By the end of the course, readers should be able to [desired result]. Start with a short outline listing the 7 lesson titles, then write all 7 emails. For each day, include: 1. A subject line (u…

ChatGPT
Marketing & SEO

Turn any topic into a 7-day email course

Creates a complete 7-day email course from a single topic: subject lines, lessons, action steps and a closing call to action. Great for growing a newsletter, onboarding new customers or launching a lead magnet. Works just as well in Claude and Gemini.

2
Midjourney Featured
Photography

Drone aerial photography

Breathtaking top-down and high-angle aerial shots of coastlines, cities and landscapes, perfect for travel content and wallpapers.

1

A nostalgic 1980s arcade at night, kids playing glowing cabinets, neon lights and carpet patterns, a teen winning and cheering, handheld camera, warm VHS-style colors, fun and lively.

Kling
Video & Animation

Retro arcade scene

A nostalgic 1980s arcade full of neon.

1

Create a 12-month personal growth reading plan focused on [areas, e.g. habits, relationships, money, mindset]. Suggest one well-known book per month, why it's useful, and a practical exercise to apply each one.

ChatGPT
Personal Growth

Personal growth reading plan

A curated reading path for self-improvement.

1