Tag:dir help
Category:Python
Article From:https://www.cnblogs.com/chaoguo1234/p/9127714.html

In Python, there are two methods for Gettting Help as follows:

1 Using the dir function, the parameters of the dir can be a real object instance or a data type. In any case, the dir function returns all the methods associated with the object or the data type.

2 Using help, the parameters of the help function can be a data type or a data type. Method, the former lists all the methods and methods associated with the data type, and the latter only lists the instructions for the use of the specified method.

Link of this Article: How Getting Help in Python

Leave a Reply

Your email address will not be published. Required fields are marked *