
- Python Basic Tutorial
- Python - Home
- Python - Overview
- Python - Environment Setup
- Python - Basic Syntax
- Python - Comments
- Python - Variables
- Python - Data Types
- Python - Operators
- Python - Decision Making
- Python - Loops
- Python - Numbers
- Python - Strings
- Python - Lists
- Python - Tuples
- Python - Dictionary
- Python - Date & Time
- Python - Functions
- Python - Modules
- Python - Files I/O
- Python - Exceptions
Is there any Python object inspector?
There is no single built-in or normal function that acts as a object inspector in Python. There are functions like type(), dir(), vars() or modules like inspect which can be used to find the attributes, properties and methods of any object under inspection.
There other functions like id(), getattr(), hasattr(), globals(), locals(), callable() that are useful in looking inside an object to know its attributes and methods.
- Related Articles
- Is there any way to check if there is a null value in an object or array in JavaScript?
- Are there any certification exams available for Python?
- Is there is any mathematics table upto 30?
- Is there any way to use values from a JSON object in a MySQL Select statement?\n
- Is there any duty concession on farm vehicles?
- Is there any precautionary medicine available for Dengue?
- Is there any alternative for CONCAT() in MySQL?
- Why is the concept of density related to floating and sinking? Is there any object which will neither sink nor float?
- Program to check whether there is any pair of words which are almost same in Python
- Program to check there is any forward path in circular cyclic list or not in Python
- Program to check there is any common reachable node in a graph or not in Python
- Program to check is there any permutation that is lexicographically bigger or not between two strings in Python
- Is there any technique to stop your orgasms from fading?
- Is there any alternative solution for static constructor in java?
- Is there any alternative for OpenCV imshow() method in Java?

Advertisements