Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

hasattr in python

The hasattr() function returns True if the specified object has the specified attribute, otherwise False .
 
PREVIOUS NEXT
Tagged: #hasattr #python
ADD COMMENT
Topic
Name
2+9 =