Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to access dictionary inside an array python

list = [{'text': 1, 'b': 2}, {'text': 3, 'd': 4}, {'text': 5, 'f': 6}]
subtitle=[]
for value in list:
   subtitle.append(value['text'])
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #access #dictionary #array #python
ADD COMMENT
Topic
Name
2+7 =