class coding details if you haven' quite gotten all of python oop yetdon' worrynow that we've had first tourwe're going to dig bit deeper and study the concepts introduced earlier in further detail in this and the following we'll take another look at class mechanics herewe're going to study classesmethodsand inheritanceformalizing and expanding on some of the coding ideas introduced in because the class is our last namespace toolwe'll summarize python' namespace and scope concepts as well the next continues this in-depth second pass over class mechanics by covering one specific aspectoperator overloading besides presenting additional detailsthis and the next also give us an opportunity to explore some larger classes than those we have studied so far content noteif you've been reading linearlysome of this will be review and summary of topics introduced in the preceding case studyrevisited here by language topics with smaller and more self-contained examples for readers new to oop others may be tempted to skip some of this but be sure to see the namespace coverage hereas it explains some subtleties in python' class model the class statement although the python class statement may seem similar to tools in other oop languages on the surfaceon closer inspectionit is quite different from what some programmers are used to for exampleas in ++the class statement is python' main oop toolbut unlike in ++python' class is not declaration like defa class statement is an object builderand an implicit assignment--when runit generates class object and stores reference to it in the name used in the header also like defa class statement is true executable code--your class doesn' exist until python reaches and runs the class statement that defines it this typically occurs while importing the module it is coded inbut not before