1. This video introduces the concept of a class in Python. The constructor is discussed and attributes are added to the class. The difference between public and private attributes is also briefly considered.

    # vimeo.com/65553364 Uploaded 8,711 Plays 0 Comments
  2. This video takes our class from Task 1a and instantiates an object with it.

    # vimeo.com/65553365 Uploaded 6,872 Plays 0 Comments
  3. This video demonstrates how to add methods to an existing class. Specifically, you will add methods to report on the needs and status of the crop class.

    # vimeo.com/65554023 Uploaded 5,818 Plays 0 Comments
  4. We add an additional method to our crop class to grow the crop based on provided values.

    # vimeo.com/65553367 Uploaded 4,378 Plays 0 Comments
  5. Here we consider how to grow our crop instance automatically over a period of time.

    # vimeo.com/65553368 Uploaded 28.5K Plays 0 Comments

Object-oriented programming, Part 1

Python School Plus

In this section we introduce object-oriented programming through the development of a simple crop simulation.

Browse This Channel

Shout Box

Heads up: the shoutbox will be retiring soon. It’s tired of working, and can’t wait to relax. You can still send a message to the channel owner, though!

Channels are a simple, beautiful way to showcase and watch videos. Browse more Channels.