Python Programming

Department of Computing | Imperial College London

book

Lesson 8

Making Objects the Main Star!

  • Chapter 1: Introduction
  • Chapter 2: Set
  • Chapter 3: Classes and attributes
  • Chapter 4: Python modules
  • Chapter 5: Objectify your robot!
  • Chapter 6: Object methods
  • Chapter 7: Add robot actions!
  • Chapter 8: Magic methods
    • [8.1] Magic/dunder methods
    • [8.2] Magic/dunder methods
    • [8.3] Magic/dunder methods
    • [8.4] Summary
  • Chapter 9: Reading and writing files
  • Chapter 10: Input validation
  • Chapter 11: Summary

Chapter 8

Magic methods

Rough estimated time needed
10-15 mins

Previous Next

Page designed by Josiah Wang

Department of Computing | Imperial College London