Articles → Python → Dir() Function In PythonDir() Function In PythonIn this article, we will discuss the dir() function in Python.Purpose The dir() returns a list of all the attributes of a given object.Example import pyautogui print(dir(pyautogui))Output Posted By - Karan Gupta Posted On - Monday, May 13, 2019 Query/Feedback Your Email Id** Subject* Query/Feedback Characters remaining 250**
import pyautogui print(dir(pyautogui))
Query/Feedback