2. Intermediate Python#

  • List comprehensions

  • Functions in Python

  • Modules in Python

  • An introduction to classes

  • Working with files

  • Interacting with the internet

  • Classroom Exercises


Total time: 1 hr 45 minutes


Classroom exercises are grouped together at the end of the module: 2.7 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.