noteclasses are preferred over modules because you can reuse them as they are and without much interference while with modulesyou have only one with the entire program objects are like mini-imports class is like mini-module and you can import in similar way as you do for classesusing the concept called instantiate note that when you instantiate classyou get an object you can instantiate an objectsimilar to calling class like functionas shownthis_obj employee(get employeid from the class print(this_obj ageinstantiatethis_obj employeid(get variable age you can do this in any of the following three waysdictionary style employee['employeid'module style employee employeid(print(employee ageclass style this_obj employee(this_obj employeid(print(this_obj age