hayaliv

hayaliv / Hi! Python

Hi! Python

Python for AI, in plain words. Fifteen short lessons with everyday analogies, a worked example, predict-the-output questions and a small exercise. Every statement about Python is backed by a word-for-word quote from the official Python 3.12 documentation, or by code that was actually run.

Open the interactive desktop (step-by-step code view)

Level 0: Python core

This level covers the Python you need before touching any model code: values, text, collections, loops, functions and comprehensions. Each lesson uses small examples from a cold-email reply classifier.

Level 1: Files and data

Real projects start with data in files. In this level you read text, JSON, JSON lines, CSV, and clean text with simple patterns.

Level 2: Level 2: Writing reliable code

Real data is messy and mistakes are easy to make. These four tools help you write records clearly, say what you expect, handle errors on purpose, and stream data one piece at a time.