- Why use scripting languages?
- Python and the Jupyter notebook
- Variables, using functions, and types
- Loops and control
- Data structures: lists, dictionaries, and sets.
- 1.0 Introduction to Python (10 minutes)
- 1.1 Variables (20 minutes)
- 1.2 Functions (20 minutes)
- 1.3 Types (20 minutes)
- 1.4 Containers (10 minutes)
- 1.5 Dictionaries (10 minutes)
- 1.6 Data Structures (5 minutes)
- 1.7 Control and Flow (15 minutes)
- 1.8 Iteration (10 minutes)
Total time: 2 hrs
Classroom exercises are grouped together at the end of the module: 1.9 Classroom Exercises. Each exercise is labelled with any sections whose contents are relevant. We recommend that instructors schedule the exercises to be done in groups during breaks in the taught content. However, it is important that participants also have some time away from their screens. Exercises can also be left as self-paced homework assignments if preferred.