how to determine value in python code example Example: object value python object.value #or object.name