# Selecting Inheritance or Composition in Python

> Episode of [The Real Python Podcast](https://podistic.com/podcast/the-real-python-podcast.md) · Published August 15, 2025 · Duration 46:02 · Episode 261, season 1

- **Listen on Podistic:** https://podistic.com/episode/selecting-inheritance-or-composition-in-python
- **Audio:** https://dts.podtrac.com/redirect.mp3/files.realpython.com/podcasts/RPP_E261_02_PyCoders.c1e5414232ed.mp3 (audio/mpeg)

## About this episode

When considering an object-oriented programming problem, should you prefer inheritance or composition? Why wouldn't it just be simpler to use functions? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder's Weekly articles and projects.
