Choose a part
Python Foundations
Write your first programs: print, variables, input, operators, strings, decisions and loops.
- 1Meet Python & Your First Program2.5 h
- 2Variables, Data Types & Input3 h
- 3Operators & Expressions2.5 h
- 4Strings & f-strings3 h
- 5Decisions: if, elif, else & match3 h
- 6Loops: for, while & range3.5 h
Data Structures & Functions
Store many values in lists, tuples, sets and dictionaries, and organise code into reusable functions and modules.
- 7Lists: Store Many Values3.5 h
- 8Tuples & Sets2.5 h
- 9Dictionaries: Key-Value Data3.5 h
- 10Functions: Reusable Blocks of Code4 h
- 11Modules, Packages & pip3 h
Files, Errors & OOP
Save data in files, handle errors gracefully, and model real things with classes and objects.
- 12Files: Text, CSV & JSON3.5 h
- 13Errors, Exceptions & Debugging3 h
- 14Classes & Objects (OOP Part 1)3.5 h
- 15Inheritance, Polymorphism & Magic Methods3.5 h
- 16Pythonic Python: Comprehensions, Generators & Decorators3.5 h
Advanced Python & Data
Power tools from the standard library, SQLite databases, data analysis with charts, and web apps with APIs and Flask.
- 17Standard Library Power Tools4 h
- 18Databases with SQLite4 h
- 19Data Analysis: NumPy, Pandas & Matplotlib5 h
- 20APIs, the Web & Flask4 h
Pro Skills & Capstone Projects
Desktop apps with Tkinter, automation, professional habits like testing and virtual environments, and five complete projects.
- 21GUI Apps with Tkinter & Office Automation4 h
- 22Professional Python: Tools & Habits3.5 h
- 23Capstone Projects10 h
Course plan at a glance
What makes these slides special
- ▶ Run on every code example: watch the real Python output appear (outputs were produced by real Python 3)
- Step-through tracer: run a program line by line and watch variables, function calls and recursion
- Python Lab (press L): edit and run real Python in the browser;
input(), files and charts work - Playgrounds: string/list slicing, range(), list and dict operations, regex tester, flowcharts and Venn diagrams
- Live previews of Flask web pages and Tkinter windows
- Each module: real-project diagram, concepts, lab, 5 practice examples (Beginner to Advanced), recap and quiz
Setup for students
- Install Python 3.12+ from python.org (tick Add python.exe to PATH)
- Install VS Code and its Python extension
- Make a folder
D:\python-practicefor all exercises - Later modules:
pip install requests flask pandas matplotlib openpyxl pillow pytest - The Python Lab needs internet the first time; offline, use ⬇ .py and run files in IDLE / VS Code
Controls: → next ← back M menu L Lab F fullscreen Ctrl+Enter run in Lab