I make short Python videos: one idea per video, under two minutes, no jargon. This series is the foundation phase of my LLM path. If you want to build with LLMs and AI, this is the Python you need first, and this repo has the code from each episode. Watch the video, then type the file yourself and run it. Every episode ends with a small dare, like "make the mess worse and run it again". The dares work better if you actually do them.
Playlist: Python for AI, explained simply
| # | Topic | Watch | Code |
|---|---|---|---|
| 01 | What is a variable? | watch | variable.py |
| 02 | F-strings, one template for every name | watch | prompt.py |
| 03 | String methods, the login that fails | watch | clean.py |
| 04 | Numbers and math, the scoreboard that says 23 | watch | score.py |
| 05 | input(), your program asks a question | watch | party.py |
| 06 | Booleans and comparisons, = puts and == asks | watch | check.py |
| 07 | Lists, one name for a whole row | watch | guests.py |
| 08 | Slicing, grab a piece by position | watch | pieces.py |
| 09 | Negative positions, count from the end | watch | ends.py |
| 10 | Slice shortcuts, leave a number out | watch | shortcuts.py |
| 11 | Split and join, one string into a row and back | watch | guest_list.py |
| 12 | Floor division and modulo, where the remainder goes | watch | prompts.py |
New episode most mornings at 8 IST. The table grows as the series does.
You need Python installed, that's it. Get it from python.org if you don't have it.
From inside an episode folder:
python variable.py
Change something in the file. Run it again. See what happens. That loop teaches you more than watching ever will.
Questions or stuck on something? Drop a comment on the episode, I read them.
Sourav AI Engineering simplified · souravailabs.ai · YouTube · LinkedIn · Hugging Face