List the Attributes and Methods of an Object in Python
Use the dir() function to return the list of the attributes and methods of the object. Syntax :dir({object})
Use the dir() function to return the list of the attributes and methods of the object. Syntax :dir({object})