• Could not connect to Twitter

ShowMeDo: ‘Python for Math Teachers’ – Subclassing for Beginners (1 video)

Kirby’s third video is Subclassing for Beginners in his Python for Math Teachers series:

“Let’s define a simple Dog class and show how we make instances (dogs). Then let’s add a stomach attribute so our dogs can eat and poop (kids love scatology). It’s a dog eat dog world! Then we refactor the code to show how Dog and Monkey classes might both inherit from the Animal class.”

Create your own Python videos? You’ll find instructions here for how you can make your own videos in just 30 minutes.

If you want to embed this video on your blog or site, see our embedding instructions.

This is one of 122 videos in our Python tutorial section. Track new-video-announces with our video feed.

Please share:
  • DZone
  • del.icio.us
  • Reddit
  • Furl
  • Ma.gnolia
  • email
  • StumbleUpon
  • Technorati
  • TwitThis
  • Slashdot
If you enjoyed this post, make sure you subscribe to my RSS feed!

Related posts:

  1. ShowMeDo: ‘Python for Math Teachers’ A First Look at RSA (1 video)
  2. ShowMeDo: ‘Python for Math Teachers’ Working with Stickworks (1 video)
  3. ShowMeDo: ‘Python for Math Teachers’ – Getting Started, Looking Ahead (2 videos)
  4. ShowMeDo: Learn Django: Create a Wiki in 20 minutes (1 video)
  5. ShowMeDo: ‘5 Minutes with Python’ – First 5 Minutes with Python (1 video)

Comments are closed.