Free
3,350 uses
Write Python scripts to automate repetitive tasks.
Prompt
Write a Python script to automate [task description]. Input: [input description]. Output: [expected output]. Requirements: [specific requirements]. The script should: handle errors gracefully with try/except, include logging with Python's logging module, be configurable via environment variables or a config file, include type hints throughout, have a main() function with argparse for CLI usage, and include docstrings. Also add requirements.txt with dependencies. Make it production-ready.
Paste directly into ChatGPT ยท Replace text in [brackets] with your own info
Enter your topic โ AI fills the prompt and shows a live sample
See what others created with this prompt
No results yet โ be the first to share!