Web Reference: Jul 11, 2025 · The dir () function is a built-in Python tool used to list the attributes (like methods, variables, etc.) of an object. It helps inspect modules, classes, functions, and even user-defined objects during development and debugging. Without an argument, dir() returns a list of names in the current local scope. With an object as an argument, it returns a list of attributes and methods of that object, which may include class attributes and instance attributes. Definition and Usage The dir() function returns all properties and methods of the specified object, without the values. This function will return all the properties and methods, even built-in properties which are default for all object.
YouTube Excerpt: Python
Information Profile Overview
The Dir Function In Python - Latest Information & Updates 2026 Information & Biography
![Python #97 - The dir Function [By Mosh Hamedani] Content](https://i.ytimg.com/vi/5rlP3DsnThA/mqdefault.jpg)
Details: $48M - $90M
Salary & Income Sources

Career Highlights & Achievements

Assets, Properties & Investments
This section covers known assets, real estate holdings, luxury vehicles, and investment portfolios. Data is compiled from public records, financial disclosures, and verified media reports.
Last Updated: April 6, 2026
Information Outlook & Future Earnings

Disclaimer: Disclaimer: Information provided here is based on publicly available data, media reports, and online sources. Actual details may vary.








