DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
access dynamicall to name attribute python
getattr(myobject, 'attr_name_string')
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#access
#dynamicall
#attribute
#python
ADD COMMENT
Topic
COMMENT
Name
3+5 =
Submit