Skip to content

Get Object Attribute

Leopold A-C edited this page Feb 4, 2021 · 7 revisions

Category: Python

Description

Returns the attribute of a python object, if the object has an attribute with the given name. This is generic and may be used with any python object.


Inputs

Object Instance

  • Generic python object. Can be anything.

Attribute

  • Name of the attribute to look for.

Outputs

Value

  • Attribute value if the object has the requested attribute. Defaults to None.
Clone this wiki locally