From the View menu you can select some extra columns, for instance the object's id column. This can also be done by right-clicking on the table header.
The following columns are available:
The name of the object.
A path to the data: e.g. var[1]['a'].item
A summary of the object for regular objects (is empty for non-regular objects such as callables or modules).
The unicode representation of the object. In Python 2 it uses unicode
, in Python 3 the str
function is used.
The string representation of the object using the str
function. In Python 3 there is no
difference with the unicode column.
The string representation of the object using the repr
function.
Type of the object determined using the builtin type
function.
The name of the class of the object via obj.__class__.__name__
The length of the object using the len
function.
The identifier of the object with calculated using the id
function.
The object is an attribute of the parent (opposed to e.g. a list element). Attributes are displayed in italics in the table.
True if the object is callable. Determined with the callable
built-in function.
Callable objects are displayed in blue in the table.
True if the object is a user-defined or built-in function or method. Determined with the
inspect.isroutine
method.
Predicates from the inspect
module.
Pretty printed representation of the object using the pprint
module.
The object's doc string.
The object's doc string, cleaned up by inspect.getdoc
Comments above the object's definition. Retrieved using inspect.getcomments
The object's module. Retrieved using inspect.module
The object's file. Retrieved using inspect.getfile
The object's file. Retrieved using inspect.getsourcefile
Uses inspect.getsourcelines
to get a list of source lines for the object.
The source code of an object retrieved using inspect.getsource