r/learnpython • u/GingerSkwatch • Feb 23 '21
Classes. Please explain like I’m 5.
What exactly do they do? Why are they important? When do you know to use one? I’ve been learning for a few months, and it seems like, I just can’t wrap my head around this. I feel like it’s not as complicated as I’m making it, in my own mind. Thanks.
229
Upvotes
View all comments
Show parent comment
1
u/Ser_Drewseph Feb 24 '21
When you write a class, this of it more like a schematic or blueprint. Then, in the business logic part of your code, you create instances of that class that act as the individual objects.