Jan-16-2023, 11:55 AM
I have the following code which uses dir() function.
Want to know why dir() function is used here.
![[Image: Python-dir-Example-dir-Function-In-Python-Tutorial.png]](https://appdividend.com/wp-content/uploads/2019/07/Python-dir-Example-dir-Function-In-Python-Tutorial.png)
Question source: https://www.adaface.com/blog/python-inte...questions/
Want to know why dir() function is used here.
![[Image: Python-dir-Example-dir-Function-In-Python-Tutorial.png]](https://appdividend.com/wp-content/uploads/2019/07/Python-dir-Example-dir-Function-In-Python-Tutorial.png)
Question source: https://www.adaface.com/blog/python-inte...questions/