Code Challenge 24 - Use Dunder / Special Methods to Enrich a Class

Posted by PyBites on Tue 20 June 2017 in Challenges • Tagged with codechallenges, dunders, special methods, magic methods, classes, polymorphism, operator overloading, guest • 2 min read

Hi Pythonistas, a new week, a new 'bite' of Python coding! We wrote an article for Dan Bader's Python blog: Enriching Your Python Classes With Dunder (Magic, Special) Methods. We hope you like it. To put dunders into practice we dedicate this week's code challenge to it.


Continue reading

Code Challenge 20 - Object Oriented Programming Fun

Posted by PyBites on Mon 22 May 2017 in Challenges • Tagged with codechallenges, OOP, object oriented, inheritance, encapsulation, polymorphism, dunder, games, ABCs • 3 min read

Hi Pythonistas, a new week, a new 'bite' of Python coding! This week we will let you experiment with Object Oriented Programming, an important skill and fundamental building block of (everthing-is-an-object) Python. Enjoy!


Continue reading

Everything is an Object, Python OOP primer

Posted by Bob on Tue 24 January 2017 in Concepts • Tagged with tutorial, oop, objectoriented, programming, inheritance, polymorphism, ABC, encapsulation, property • 13 min read

I created a notebook on OOP (object oriented programming) in Python.


Continue reading