class coding basics now that we've talked about oop in the abstractit' time to see how this translates to actual code this begins to fill in the syntax details behind the class model in python if you've never been exposed to oop in the pastclasses can seem somewhat complicated if taken in single dose to make class coding easier to absorbwe'll begin our detailed exploration of oop by taking first look at some basic classes in action in this we'll expand on the details introduced here in later of this part of the bookbut in their basic formpython classes are easy to understand in factclasses have just three primary distinctions at base levelthey are mostly just namespacesmuch like the modules we studied in part unlike modulesthoughclasses also have support for generating multiple objectsfor namespace inheritanceand for operator overloading let' begin our class statement tour by exploring each of these three distinctions in turn classes generate multiple instance objects to understand how the multiple objects idea worksyou have to first understand that there are two kinds of objects in python' oop modelclass objects and instance objects class objects provide default behavior and serve as factories for instance objects instance objects are the real objects your programs process--each is namespace in its own rightbut inherits ( has automatic access tonames in the class from which it was created class objects come from statementsand instances come from callseach time you call classyou get new instance of that class this object-generation concept is very different from most of the other program constructs we've seen so far in this book in effectclasses are essentially factories for generating multiple instances by contrastonly one copy of each module is ever imported into single program in factthis is why reload works as it doesupdating singleinstance shared object in place with classeseach instance can have its ownindependent datasupporting multiple versions of the object that the class models