Course curriculum

    1. 1.1 Let the Magic Begin

    2. 1.2 Welcome to Hogwarts School of Codecraft and Algorithmancy • Course Overview

    3. 1.3 First Day at School • Object-Oriented Programming Mindset

    4. 1.4 Not All Parselmouths are Slytherins • Everything is An Object in Python

    5. 1.5 There are Muggles, Pure Bloods, and Pragmatists

    6. 1.6 Terminology Corner

    1. 2.1 The Making of a Wizard • Creating a Wizard Class

    2. 2.2 The .__init__() Method and Data Attributes

    3. 2.3 Creating a Wizard (Object)

    4. 2.4 Special Methods

    5. 2.5 Not All Wizards are the Same

    6. 2.6 What's This self We Keep Writing?

    7. 2.7 Creating a Wizard (Object) Part 2

    8. 2.8 Terminology Corner

    1. 3.1 Every Wizard Needs a Wand • A Visit to Ollivander's

    2. 3.2 Revisiting self

    3. 3.3 Every Wizard Needs a House

    4. 3.4 Adding Methods to the House Class

    5. 3.5 Linking Wizard and House

    6. 3.6 Assigning Houses to Wizards

    7. 3.7 Revisiting Wands • Creating a Wand Class

    8. 3.8 Terminology Corner

    1. 4.1 Wizard, Wand, House… Spell

    2. 4.2 Wizards Cast Spells

    3. 4.3 Passing Information Between Objects of Different Classes

    4. 4.4 Updating Wand.cast_spell()

    5. 4.5 End of Year Feast

    1. 5.1 Professors are Wizards. So are the Students

    2. 5.2 Inheritance • Create Professor that Inherits from Wizard

    3. 5.3 Adding and Overriding Methods in a Subclass

    4. 5.4 Create Student that Inherits from Wizard

    5. 5.5 Professor.assess_student()

    6. 5.6 Let's Try These New Classes

    7. 5.7 Terminology Corner

    1. 6.1 Who's the Greater Wizard or Witch?

    2. 6.2 Special Methods

    3. 6.3 When Are Wizard Objects Equal? (And How is is not ==)

    4. 6.4 More Special Methods • __iter__()

    5. 6.5 More Special Methods • __str__()

    6. 6.6 More Special Methods • __repr__()

    7. 6.7 Terminology Corner

About this course

  • 48 lessons
  • 4.5 hours of video content