Note that this site is in currently in version 1.0.0-alpha.   Some functionality may be limited.


Even though you probably don’t know it, you’ve been using objects in Python all along. Nearly everything in Python is made out of objects, which are representations of values. For example, the string "hello" is an object. So is the variable greeting that stores "hello". Integers, floats, and lists are also objects. To help you do more complex things with objects, you can learn object-oriented-programming, which is an approach toward programming that centralizes objects. This approach deploys what we call classes to define and create new objects, as well as inheritance to build new objects from old ones. This is definitely intermediate stuff, so make sure you have a grasp on basic concepts like data types, variables, loops, and conditionals before moving onto object-oriented-programming.


This thread
This thread from Stack Overflow does a good job what objects are from a beginner’s point of view.


If you want to get your feet wet with a little object-oriented-programming, check out this objects and classes tutorial on w3schools.

Lessons referring to this term