# Object oriented programming in Python

DevFeed: [Object oriented programming in Python](<https://devfeed.tech/articles/object-oriented-programming-in-python-27325.md>)

Original publisher: [Read original article](<https://blog.pchudzik.com/202003/object-oriented-python/>)

Published: 2020-03-25T00:00:00Z

Content type: tutorial

Language: en

Sources: [Paweł Chudzik](<https://devfeed.tech/sources/pawe-chudzik.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [Programming](<https://devfeed.tech/topics/programming.md>)

Tags: [object](<https://devfeed.tech/tags/object.md>), [programming](<https://devfeed.tech/tags/programming.md>), [python](<https://devfeed.tech/tags/python.md>)

## AI overview

A practical reference to object-oriented programming in Python, covering duck typing, object creation and initialization, finalization, and object representation methods such as __repr__, __str__, and __format__.

## Source excerpt

Working with python is fun (as with any language you get hooked up on). You can write simple scripts with it, or complex programs and utilities. The most surprising thing for people coming from the java world might be that in this "scripting" language everything is an object. In this post, I'll explore basic protocols available for user-defined objects. Read more