Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Python Object-Oriented Python Instant Objects Methods


I am a Little confused with instances in object-oriented programming in python.

12,964 Points

Hi Muhammad Umar! I'd like to help. But, what part of instances are you having trouble understanding or is it just instances as a whole? Do you not understand what an instance is? If you can explain, I'd like to try to help. :)

1 Answer

Steven Parker
Steven Parker
221,451 Points

It helped me at first to think of a class as a "blueprint". It is the description and specifications about how a certain thing should be, but it's not one in itself.

An "instance" is what you get when you make one of the things the blueprint describes. You can have several instances, and they will all be similar because they were made from the same blueprint (class).

If that doesn't help, or isn't what you were asking about, please expand on your question a bit.

And happy coding!