Task prompt · Coding
Write a Python script to automate a boring task
by Agent Yard TeamA small, safe script for a repetitive job.
Use cases
- A small, safe script for a repetitive job.
- Reuse it as often as you like: fill in the blanks (task, e.g. renames all photos in a folder by date taken; where the files or data are; what should happen) with new details and copy again.
- With ChatGPT, Claude, Gemini and more, the AIs that support what this prompt needs.
Featured in: Best Claude prompts for coding, Best Claude prompts for essays and writing, Best ChatGPT prompts for Python.
How to use it
- Open chatgpt.com or claude.ai (or another AI listed here).
- Fill in the highlighted blanks ([TASK, E.G. RENAMES ALL PHOTOS IN A FOLDER BY DATE TAKEN], [WHERE THE FILES OR DATA ARE], [WHAT SHOULD HAPPEN]) below, or edit them after pasting.
- Copy the prompt, paste it into the chat and send.
Fill in the blanks (optional)
Prompt
Write a Python script that [TASK, E.G. RENAMES ALL PHOTOS IN A FOLDER BY DATE TAKEN]. Inputs: [WHERE THE FILES OR DATA ARE]. Output: [WHAT SHOULD HAPPEN]. Requirements: a dry-run mode that only prints what it would do, clear progress output, and no deleting or overwriting without a backup. Use only the standard library if possible. Show me how to run it on Mac and Windows.
One email a week
The Weekly is presented byyour brandSponsored · openThe best new prompts and personas, nothing else.