Python Programming

Department of Computing, Imperial College London

home

Python for C++ Programmers

  • Chapter 1: Introduction
  • Chapter 2: Basic data types
  • Chapter 3: Variables and operators
  • Chapter 4: Sequence types
  • Chapter 5: Sets and dictionaries
  • Chapter 6: Control flow
  • Chapter 7: Functions
  • Chapter 8: Object-oriented programming
    • [8.1] Object-oriented programming in Python
    • [8.2] Class constructors
    • [8.3] Attributes
    • [8.4] Methods
    • [8.5] Magic/Dunder methods
    • [8.6] Inheritance
    • [8.7] Encapsulation
    • [8.8] Encapsulation
    • [8.9] Encapsulation the Pythonic way
    • [8.10] What about protected?
    • [8.11] Class and static methods
  • Chapter 9: Modules
  • Chapter 10: Files

Chapter 8

Object-oriented programming

Rough estimated time needed
40-50 mins

Previous Next

Page designed by Josiah Wang

Department of Computing | Imperial College London