[det]py_object_dir(+ObjRef,
-List)
[det]py_object_dict(+ObjRef,
-Dict)Examine attributes of an object. The predicate py_object_dir/2
fetches the names of all attributes, while py_object_dir/2
gets a dict with all attributes and their values.
- Compatibility
- PIP