About 841,000 results
Open links in new tab
  1. dir() function in Python - GeeksforGeeks

    Nov 29, 2023 · In Python, the dir() function is a built-in function used to list the attributes (methods, properties, and other members) of an object. In this article we will see about dir () …

  2. Python dir() - Programiz

    The dir() method tries to return a list of valid attributes of the object. In this tutorial, you will learn about the Python dir() method with the help of examples.

  3. Python dir() Function - W3Schools

    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 …

  4. The dir() Function in Python: A Complete Guide (with Examples)

    In Python, the dir() function returns a list of the attributes and methods that belong to an object. This can be useful for exploring and discovering the capabilities of an object, as well as for …

  5. dir () | Python’s Built-in Functions – Real Python

    The built-in dir() function lists the names in the current local scope when you call it without arguments. When you call it using an object as an argument, it attempts to return a list of valid …

  6. Python dir() Builtin Function - Python Examples

    Python dir () builtin function is used to get all the properties and methods in a given object as a list. In this tutorial, you will learn the syntax of dir () function, and then its usage with the help of …

  7. Python dir() Function - Online Tutorials Library

    Learn about the Python dir () function, its syntax, parameters, and practical examples to retrieve a list of attributes and methods of an object.

  8. Learn Python dir () Function from basics to Advance

    Python dir() is a potent built-in function that provides a comprehensive view of the attributes, methods, and functionalities of any object. It allows you to peek inside an object and see what …

  9. Unveiling the Power of `python dir()`: A Comprehensive Guide

    Jan 26, 2025 · The `dir()` function in Python is a versatile tool that provides insights into the attributes and methods of various objects. Whether you are a novice exploring Python's basic …

  10. Exploring `dir()` in Python: A Comprehensive Guide - CodeRivers

    Mar 17, 2025 · One of the most common uses of dir() is to explore the contents of Python modules. For example, if you want to see what functions and classes are available in the math …

  11. Some results have been removed
Refresh