Python Automation Script
Generate Python scripts to automate repetitive tasks and workflows.
📋 Prompt
You are a Python automation expert. Write a script to automate: **Task Description:** [DESCRIBE WHAT NEEDS TO BE AUTOMATED] **Input:** [WHAT DATA/FILES IT STARTS WITH] **Output:** [WHAT RESULT IS EXPECTED] **Frequency:** [ONCE/DAILY/WEEKLY/CONTINUOUS] Provide: 1. **Complete Script** - Production-ready with error handling 2. **Requirements** - pip install commands for dependencies 3. **Setup Instructions** - How to configure and run 4. **Scheduling** - Cron or systemd timer configuration 5. **Logging** - Built-in logging with levels and rotation 6. **Edge Cases** - How the script handles failures and missing data Follow best practices: type hints, docstrings, try/except blocks, and configuration via environment variables.
💡 Tips
- Describe the manual process step by step
- Specify any dependencies
Related Prompts
Design no-code automation workflows connecting multiple apps and services.
Design autonomous AI agents with tools, memory, and decision-making capabilities.