732A74 Introduction to Python
Lectures
Lecture 1: Course intro, Python Basics
This lecture introduces - among other things - the course content, some basic data types and control/program flow constructs (if, while,...).
Naturally, the output doesn't contain any notes on tab completion (which will be available in your notebooks, and in standard Python REPL, most IDE:s).
- Lecture 1 (Notebook). Also available as HTML export.
Lecture 2: Functions, procedural abstraction and FP
This lecture introduces - among other things - functions, procedural abstraction and some notes on testing and design.
- Lecture 2 (Notebook, preliminary)
- Lecture 2 (HTML version of the above, pre-lecture, preliminary)
Lecture 2: Extra reading material on recusion
- A note on recursion [beta version] (Notebook)
- A note on recursion [beta version] (HTML, no cells run)
Lecture 3: OOP (and much more)
This lecture introduces basic OOP ideas, classes in Python, inheritance, properties. Additionally, we note some module division issues, running Python as a script and discuss the point of selecting good data structures.
- Lecture 3 (after lecture). Also available in HTML export
Page responsible: Anders Märak Leffler
Last updated: 2020-02-19