Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Treehouse

Basic Object-Oriented Python Course

via Treehouse

Overview

Prepare for a new career with $100 off Coursera Plus
Gear up for jobs in high-demand fields: data analytics, digital marketing, and more.

Learn the powerful object-oriented method of designing and laying out code.

What you'll learn

  • Object-Oriented Python
  • Class creation
  • Object creation
  • Instantiation
  • Class attributes
  • Instance Attributes
  • Methods
  • Emulating built-in methods

Syllabus

Welcome to OOP

An introduction to object-oriented programming in Python.

Chevron 9 steps
  • Intro to OOP

    4:38

  • Creating a Class

    4:40

  • Creating a Class

    5 questions

  • Class Attributes

    8:05

  • Instance Attributes

    7:40

  • Creating a Panda Class

    2 objectives

  • Methods

    10:37

  • Adding to our Panda

    3 objectives

  • Classes, Attributes, and Methods

    7 questions

Emulating Built-ins

Learn how to utilize built-in methods to amplify the abilities of your class.

Chevron 6 steps
  • Intro to Built-ins

    1:18

  • __str__

    2:01

  • __iter__

    6:10

  • __eq__

    2:39

  • Emulating Built-ins

    3 objectives

  • Emulating Built-ins

    5 questions

Creating a Memory Game

Create a memory game using your object-oriented python knowledge.

Chevron 8 steps
  • Challenge

    1:53

  • Pseudocode

    2:28

  • Card Class

    3:08

  • Game Class Part 1

    13:22

  • Game Class Part 2

    8:44

  • Game Class Part 3

    6:07

  • Final Product

    4:58

  • Class Review

    5 questions

Taught by

Megan Amendola

Reviews

Start your review of Basic Object-Oriented Python Course

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.