A self-learning tutorial that teaches Python from zero by building understanding of a real IoT project — a Smart Energy Optimization System that simulates environmental sensors and controls virtual HVAC devices.
Developed by: Emertxe Information Technologies
emertxeinfotech.github.io/learn-python-for-smart-systems
No installation required. Open any chapter and click the 🚀 launch button to run it live in Binder or Google Colab.
Complete beginners. No prior programming experience required.
- Python fundamentals: variables, conditions, loops, functions, classes
- How a real multi-file Python project is structured
- How to read and modify an existing codebase
- How to run a Streamlit web dashboard
From Chapter 6 onward, the tutorial uses the Smart Energy Optimization System as the hands-on codebase.
| # | 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
Work through the chapters in order. Each chapter builds on the previous one. Do not skip chapters. Do not skip exercises.
Part 1 — Python Fundamentals (Chapters 0–5)
Part 2 — The Project (Chapters 6–8)
Visit emertxeinfotech.github.io/learn-python-for-smart-systems and click the 🚀 button on any chapter page.
- Binder — full Jupyter interface, no account needed, 2–3 min first load
- Google Colab — instant start, requires a Google account
# Install Jupyter
pip install notebook
# Clone this repo
git clone https://github.com/EmertxeInfoTech/learn-python-for-smart-systems.git
cd learn-python-for-smart-systems
# Open the tutorial
jupyter notebookYour browser will open. Navigate to the notebooks/ folder and start with Chapter_00.
A one-page Python reference is in cheatsheet.md. Use it when you forget syntax — do not use it to skip chapters.