class account '' class representing an account '' class attributes num_of_accounts @staticmethod def accounts_info() print(account num_of_accounts"accounts have been created " if __name__=="__main__" call static method account accounts_info(we can also call class methods on objects of the classfor instance annesacc accounts info(in this casepython calls the accounts info(method of the class from which annesacc was created it does not pass annesacc as an implicit argument as it is done in instance methods using the self parameter as you can seestatic methods don' care about particular objectsand the coding style is better if you call them on the class as in the listing above python also provides more sophisticated way to define methods that belong to classesso-called class methods these are beyond the scope of this tutorial using classes in other files usuallyyou will write your classes into various files (modules)and you want to use them in another file which contains your main application an easy way to be able to use your class is to write the class definition into file (modulewhich we call accounts pyand then have the main part of your application in another filehere called bank py the bank py file must then import your classes note that the syntax for importing your class is from modulename import classnamewhere modulename has to match the file name in which your class is defined (minus the pyand classname is the name of your class from accounts import account if __name__ ="__main__"annesacc account(annesacc balance annesacc deposit( annesacc withdraw( annesacc print_info(annemarie friedrichcis lmu munchenws /