[go: up one dir, main page]

0% found this document useful (0 votes)
279 views1 page

Oop in Python Best Resources

This document provides recommendations for learning about object-oriented programming in Python, including tutorials, books, and code examples. It suggests the official Python tutorial for basic classes, Learn Python the Hard Way for step-by-step lessons starting at lesson 40, a 400-page book by Dusty Phillips covering OOP foundations and design patterns, example code on GitHub demonstrating common patterns, and a tutorial using a role-playing game example to illustrate the usefulness of OOP.

Uploaded by

Martin Chamambo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
279 views1 page

Oop in Python Best Resources

This document provides recommendations for learning about object-oriented programming in Python, including tutorials, books, and code examples. It suggests the official Python tutorial for basic classes, Learn Python the Hard Way for step-by-step lessons starting at lesson 40, a 400-page book by Dusty Phillips covering OOP foundations and design patterns, example code on GitHub demonstrating common patterns, and a tutorial using a role-playing game example to illustrate the usefulness of OOP.

Uploaded by

Martin Chamambo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Python Design Patterns

Object-Oriented Programming in This is a good introductory tutorial to OOP design patterns in Python. An-
drei does well to point out that some of the "classic" Java and C++ design pat-

Python The Best Resources terns are unnecessary superfluous in Python or have simpler implementations
(e.g use a Python module to simulate a Singleton).
toptal.com/python/python-design-patterns
There are so many ways to learn about Object-Oriented Programming with
Python. This cheat sheet points you to the tutorials, videos, and books I found
the most valuable to get better at OOP in Python. Happy Pythoning! Python 3 Object-Oriented Programming
Dan Bader (dbader.org)
A 400 page book by Dusty Phillips covering OOP foundations, when to use
OOP in Python, and how to apply the most common design patterns. Check
The Official Python Tutorial: Classes out this book if you're looking for a more in-depth resource that goes beyond a
short tutorial.
This is a pretty good intro to the basic mechanics of classes and OOP in packtpub.com/application-development/python-3-object-oriented-pro-
Python. The tutorial has been refined over the years and it's worth a read if you gramming
haven't seen it yet.
https://docs.python.org/3/tutorial/classes.html
Why is Object-Oriented Programming Useful?

Learn Python The Hard Way Al Sweigart walks us through an example for a fictitious Role Playing Game
to explain how OOP techniques can lead to simpler and more maintainable
This tutorial explains the fundamentals of OOP in Python in an easy to di- code. Really well done.
gest step by step process. The OOP-relevant lessons start with lesson 40. inventwithpython.com/blog/2014/12/02/why-is-object-oriented-program-
learnpythonthehardway.org/book/ ming-useful-with-an-role-playing-game-example/

Python-Patterns Repository on GitHub Python Summer School: Object Oriented Design

A collection of common OOP design patterns and idioms in Python. The This slide deck by Niko Wilbert gives a great intro to OOP and design pat-
examples are purely code based and there's little explanation or background terns in Python and is chock -full of examples.
info. However in some cases just seeing a minimal example implementation can python.g-node.org/python-summerschool-2013/media/wiki/oop/oode-
be helpful. sign2013.pdf
github.com/faif/python-patterns

You might also like