the class name must follow standard python variable naming rules (it must start with letter or underscoreand can only be comprised of lettersunderscoresor numbersin additionthe python style guide (search the web for "pep "recommends that classes should be named using camelcase notation (start with capital letterany subsequent words should also start with capitalthe class definition line is followed by the class contents indented as with other python constructsindentation is used to delimit the classesrather than braces or brackets as many other languages use use four spaces for indentation unless you have compelling reason not to (such as fitting in with somebody else' code that uses tabs for indentsany decent programming editor can be configured to insert four spaces whenever the tab key is pressed since our first class doesn' actually do anythingwe simply use the pass keyword on the second line to indicate that no further action needs to be taken we might think there isn' much we can do with this most basic classbut it does allow us to instantiate objects of that class we can load the class into the python interpreterso we can interactively play with it to do thissave the class definition mentioned earlier into file named first_class py and then run the command python - first_class py the - argument tells python to "run the code and then drop to the interactive interpreterthe following interpreter session demonstrates basic interaction with this classa myfirstclass( myfirstclass(print(aprint(bthis code instantiates two objects from the new classnamed and creating an instance of class is simple matter of typing the class name followed by pair of parentheses it looks much like normal function callbut python knows we're "callinga class and not functionso it understands that its job is to create new object when printedthe two objects tell us which class they are and what memory address they live at memory addresses aren' used much in python codebut herethey demonstrate that there are two distinct objects involved