Skip to content

Results for “scripting”

3 prompts

Write a Bash script that [task]. Use set -euo pipefail, validate arguments, print usage help, log steps with timestamps, clean up temporary files on exit, and make it safe to run twice.

ChatGPT
Coding & Development

Bash script with safe defaults

A robust shell script with error handling and logging.

0

Write a [Python / Node.js] script to transform data. Input format and sample: [paste] Desired output format and sample: [paste] Rules: [renames, filters, calculations, date formats] The script should read from a file, handle missing or malformed values, log problems, write the output file, and be easy to rerun. Includ…

ChatGPT
Coding & Development

Data transformation script

Convert, clean and reshape data between JSON, CSV and other formats with a reusable script.

0

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…

ChatGPT
Coding & Development

Python script to automate a boring task

Describe a repetitive task like renaming files, cleaning spreadsheets or sending reports, and get a safe, well-commented Python script.

0