• Handy AI
  • Posts
  • Handy Prompts: Quick Script

Handy Prompts: Quick Script

Use ChatGPT to generate code for simple tasks.

Note: Today’s prompt, while simple in context, requires you to have some technical knowledge of Python code. If that’s not something you’re interested in, check out my other prompts here.

Our personal and work days are filled with little tasks. While the time spent on these tasks may seem minimal, they tend to add up to some significant disruption. Utilizing code to help with these remedial tasks has typically been something reserved for developers, but ChatGPT makes now puts this power in the hands of technically-minded folks with no coding experience.

Add tasks to a to-do list, convert currencies, check weather at a given location — these are some of the quick Python scripts ChatGPT can generate for you, all from a simple question.

Recommended AI model: GPT-4
(Access via ChatGPT Plus)

prompt ➡️

Please generate a Python script that can [ EXPLAIN DESIRED FUNCTIONALITY HERE ].

Include explicit code that will perform this function for me. Also include instructions on how to run this code locally, so that I can achieve the desired effects.

what to expect

ChatGPT will provide you with a Python script that performs the requested functionality. Keep in mind that there will often be bits of the code that need slight modification, such as adding API keys or details on a desired parameter.

If you have questions about how the script works, ask it as needed. ChatGPT will also provide instructions on how to run your quick script. If you need more details or handholding in setting it up, just ask follow up questions and it will provide.

 


🍿 want some more?

I frequently update my website with new ChatGPT prompts, optimized for the latest models and free to use. Visit here for the full list available.


📰 about the newsletter

Jake Handy is a product manager, AI code wrangler, and Classical violinist. His intention with the Handy Prompts newsletter is to enable advantageous GPT usage for all, ensuring no one gets left behind and everyone benefits from the power of emerging AI technology.

Have an idea for a prompt and need some help making it work? Respond to this email and I'll see what I can do.