Python Programming

Department of Computing | Imperial College London

book

Lesson 7

Objects and Dictionaries

  • Chapter 1: Introduction
  • Chapter 2: Object Identity
  • Chapter 3: Object methods
  • Chapter 4: Dictionaries
  • Chapter 5: Application of dictionaries
  • Chapter 6: Recursion
  • Chapter 7: Exception handling
    • [7.1] How to handle errors?
    • [7.2] Handling exceptions
    • [7.3] After handling the exceptions
    • [7.4] Catch all exceptions
    • [7.5] Exercise (list of fruits)
    • [7.6] Exercise (opening a file)
  • Chapter 8: Robots and remote clones
  • Chapter 9: Summary

Chapter 7

Exception handling

What to do when something goes wrong?

Rough estimated time needed
20-30 mins

Previous Next

Page designed by Josiah Wang

Department of Computing | Imperial College London