Digibento

Inheritance

Hands-on project · Sold on Manning

Inheritance by Manning Publications is a hands-on project sold by Manning. It costs $29.99. Refund policy: 7-day refund on liveProjects, before your first upload.

$29.99

Buy at Manning

Digibento may earn a commission at no extra cost to you.

Inheritance

Our take

This is a short Manning liveProject on class inheritance in Python, built around a simple video game. Animal characters such as wolves, bears, eagles, ducks, frogs and trout move through an obstacle course in different ways. You create base classes to avoid repeated code, inherit from them and use multiple inheritance to build mix-ins. Naomi Ceder guides it over one week at 1 to 3 hours.

Level: Intermediate

What you get

  • Python's inheritance system
  • Base classes for game characters
  • Multiple inheritance and mix-ins
  • A playful video game setting

Ideal for

  • Python learners getting serious about OOP
  • Hobbyists coding simple games
  • Developers who want cleaner, less repetitive classes

Use it for

  • Refactoring repeated code
  • Learning mix-ins

What you need

  • Basic Python

About this

From Manning

In this liveProject, you’ll explore how inheritance works in Python through developing classes that might be used in a simple video game. Your game follows animal characters moving through an obstacle course, with different movement styles for wolves, bears, eagles, ducks, frogs, and trout. In order to avoid having to repeat your code between characters, you’ll create some base classes and inherit from them. You’ll see how to inherit from more than one class at a time, and discover use cases for multiple inheritance.

Highlights

  • Using Python’s system of inheritance
  • Developing classes for a video game
  • Using Python's multiple inheritance to create mix-ins

What’s included

  • Self-paced
  • Project roadmap
  • Get Help
  • Compare with others
  • Books included as resources
  • Also included in a Manning Online subscription
Store
Manning
Type
Hands-on project
Category
Online courses
Creator
Manning Publications
Level
Intermediate
Duration
1 week, 1-3 hours per week
Instructor
Naomi Ceder
Released
2021-06-15
Refund
7-day refund on liveProjects, before your first upload

Questions and answers

What's included in Inheritance?
Self-paced. Project roadmap. Get Help. Compare with others. Books included as resources.
What does Inheritance work on?
It works on the web.
Can I get a refund on Inheritance?
Manning says: 7-day refund, before your first upload.

You may also like

More in Online courses

Similar for less

More from Manning

See all