What is the usage of help() and dir() function in Python ? example please ...
Help() and dir() Anonymous User 1393 18 Jun 2018 What is the usage of help() and dir() function in Python? example please ...
Help() function:
it's used to display the documentation string and also help in modules, keywords, attributes, and you use a return as a method,attributes.
Example :
dir() function:
The dir() function is used to display the defined symbols and as a arguments for currents local namespace for a local keys.
Ex :