Python with AI from Zero: Scripts for Work · Lesson 5
Calling a model from Python: the official openai and anthropic SDKs
Connect ChatGPT and Claude to your own script: the key in an environment variable, a first request through the official libraries, and tagging a batch of reviews from a CSV into a new column. Test on three rows, catch network errors and keep customer data out of the requests.
One trial lesson is open without sign-up: what a large language model is →


