All tutors
Python for AI, step by step
Just enough Python to work with data and call AI models from code.
What you will be able to do
- Write and run simple Python scripts and notebooks
- Use lists, dictionaries, loops and functions with confidence
- Load and explore a CSV file with pandas
- Call an AI model's API from Python with the key kept out of your code
- Process a batch of texts with an AI model and save the results
Lesson plan
- 1 Setting up and running code Run Python code on your computer or in a notebook. Start
- 2 Values, lists and dictionaries Store and organise data in Python. Start
- 3 Loops and functions Repeat work and package it into reusable pieces. Start
- 4 Working with data in pandas Load, inspect and filter a table of data. Start
- 5 Calling an AI model from Python Send a prompt to a model API and read the reply. Start
- 6 Batch processing texts Run an AI model over many rows and save the results. Start
Try asking
About this tutor
A beginner friendly path from your first Python lines to a small script that sends text to an AI model and saves the results. Every lesson ends with a short exercise you can run on your own computer or in a notebook.
Reviews
Students can review a tutor after a paid lesson. Nobody has yet.
More like this
Other tutors on the same or nearby topics.
Profiling and Speeding Up Python