Classes in Python

Python is an object-oriented programming language. Unlike procedure-oriented programming, where the main emphasis is on functions, object-oriented programming stresses on objects. A class is a user defined blueprint or prototype from which objects are created. Classes provide a means of bundling data and functionality together.