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/
Larz60+ write Jan-16-2023, 08:23 PM:
Please post all code, output and errors (it it's entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.
Please use instead of images. Thank you
Please post all code, output and errors (it it's entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.
Please use instead of images. Thank you