table instance attributes attributes description __class__ name of the class for instance __dict__ dictionary holding the instance data notethe __dict__ attribute is normally where all the data associated with an instance is stored however this behaviour can be changed by using __slots__ which is more efficient way for handling the large number of instances in that case__dict__ attribute will not be available for the instance modules module type is container that holds object loaded with 'importstatement whenever an attribute of the module is referencesthen corresponding dictionary is invoked invokes __dict__[' 'table shows the various attributes available for module table module attributes attributes description __dict__ dictionary associated with module __doc__ documenatation string __name__ name of module __file__ file from which module is loaded __path__ fully qualified package name special methods in this sectionvarious special method are listed which handle different situations object creation and destruction table shows three methods which are used to create and delete the objects table object creation and destruction method description __new__(cls [,*args [,**kwargs]]called to create new object __init__(self[,*args [,**kwargs]]called to initialize new instance __del__(selfcalled to delete an instance string representation table shows three methods which are used with string objectstable string representation method description __format__(selfformat_speccreates formatted string __repr__(selfcreates string representation of an object __str__(selfcreate simple string representation special methods