image
image
image

Dir() built-in Python function

image

For discovering names contained in a module, we use the dir() inbuilt function.

Syntax

dir(module_name)