AI engineering glossary · Python advanced

What is instance?

Instance: A single concrete object created from a class. Each one has its own copy of the per-object data while sharing the methods defined by the class. Creating one is done by calling the class like a function.

Level: beginnerTopic: Python advanced

Instance: an example

acct1 = Account('Asha') and acct2 = Account('Ravi') are two separate instances with their own names and balances.

Related terms

More Python advanced terms

Where you learn it

Instance is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.