instance

An instance is a concrete occurrence of a class—a unique object created using a class as its template. When you create an instance, you’re making a specific copy of the class with its own set of data attributes.

Python
class Dog:
    pass

spot = Dog()  # spot is an instance of the Dog class

Tutorial

Python Class Constructors: Control Your Object Instantiation

In this tutorial, you'll learn how class constructors work in Python. You'll also explore Python's instantiation process, which has two main steps: instance creation and instance initialization.

intermediate python

For additional information on related topics, take a look at the following resources:


By Dan Bader • Updated Jan. 21, 2025