Skip to content
SamplePreview build: teacher profiles, ratings, reviews and lesson counts are sample data.
All tutors

Python for AI, step by step

Just enough Python to work with data and call AI models from code.

Your first 3 replies from the tutor are free. Then you can continue the lesson for $6 from your credit.

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

6 lessons. Pick one to start there.

  1. 1 Setting up and running code Run Python code on your computer or in a notebook. Start
  2. 2 Values, lists and dictionaries Store and organise data in Python. Start
  3. 3 Loops and functions Repeat work and package it into reusable pieces. Start
  4. 4 Working with data in pandas Load, inspect and filter a table of data. Start
  5. 5 Calling an AI model from Python Send a prompt to a model API and read the reply. Start
  6. 6 Batch processing texts Run an AI model over many rows and save the results. Start

Try asking

Tap a question to start a lesson with it.

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.

About the teacher

Daniel Reyes

Teaches machine learning, Python and AI agents

3 tutors New

I teach the technical side of AI to people who are new to code or to machine learning. My tutors explain the idea first, then show a small working example, then ask you to change it and see what happens.

See Daniel's profile and tutors