A beginner's tutorial by Emertxe Information Technologies
This tutorial teaches Python from zero by building up to a real IoT project — a Smart Energy Optimization System that simulates environmental sensors and controls virtual HVAC devices.
By the end of this tutorial you will be able to:
- Write Python programs using variables, conditions, loops, functions, and classes
- Read and understand a real multi-file Python project
- Modify an existing codebase with confidence
- Run a live Streamlit web dashboard
This tutorial assumes you have never written a single line of code.
Work through the chapters in order. Each chapter builds on the previous one. Do not skip chapters. Do not skip exercises.
Use the rocket icon (🚀) at the top of any chapter to open it as a live interactive notebook — no installation needed.
:class: tip
**Binder** — Full Jupyter Notebook interface. No account needed. Takes 2–3 minutes to start the first time. Your work is **not saved automatically** — download your notebook before closing (File → Download as → Notebook).
**Google Colab** — Opens instantly. Requires a Google account. Save your own copy before starting (File → Save a copy in Drive), otherwise your work will be lost when you close the tab.
:class: note
Start with **Chapter 0** — it teaches you how to run cells, what to do when something goes wrong, and how to save your work. Do not skip it.
| # | Title | Time |
|---|---|---|
| 0 | How to Use This Tutorial | 15 min |
| 1 | Setup & Your First Program | 30 min |
| 2 | Variables & Data Types | 45 min |
| 3 | Conditions & Loops | 1 hour |
| 4 | Functions | 1 hour |
| 5 | Classes & Objects | 2 hours |
| 6 | Project Walkthrough | 1 hour |
| 7 | The Dashboard | 45 min |
| 8 | Experiments | 1 hour |
Total: ~8.25 hours of self-study
From Chapter 6 onward, you will work with the Smart Energy Optimization System — a fully working Python IoT simulation with five classes, a terminal runner, and a Streamlit dashboard.
Emertxe Information Technologies