This is an accompanying project of YouTube video about Python automation with ChatGPT

export OPENAI_API_KEY=your-key-here

Views0
PublishedJan 14, 2026

Loading actions...

5 minBeginnerpromptSingle file

Skill content

Main instructions and any bundled files for this skill.

markdown

This is an accompanying project of YouTube video about Python automation with ChatGPT

set environment variable OPENAI_API_KEY before executing python-chatgpt script

export OPENAI_API_KEY=your-key-here

execute the main python-chatgpt script to generate python code from Open AI

python3 python-chatgpt.py "extract all html headers from a web page, translate to Spanish and save the result into an html file" "extract-translate.py"

python3 python-chatgpt.py "print hello world" "hello-world.py"
Share: