Type and Object in Python

May 2013 · 1 minute read

Recently I stumbled across an article talking about the importance of understanding type and object in Python, so thought of writing a small post on it.

Looking in-depth, one may get the impression that this is more of a chicked-egg problem, but I’ll give an overall view of this.

So in a way, you have only two objects in Python, types and non-types.

typecan also be called class from Python >= 2.3

Well there you go. It wasn’t confusing now, was it ? :)

comments powered by Disqus