The dir() Function in python
Introduction
The dir() method tries to return a list of valid attributes of the object, without the values. the dir() function is a built-in function that lists the identifiers defined in the module. These modules may include functions, classes, and ...
anusree-anilkumar.hashnode.dev2 min read