#NEWLINE# def get_list_columns( props , cols ) : #NEWLINE# #INDENT# res = [ ] #NEWLINE# for p in props : #NEWLINE# #INDENT# r = ( ) #NEWLINE# for idx in cols : #NEWLINE# #INDENT# r . append ( p [ idx ] ) #NEWLINE# #UNINDENT# res . append ( r ) #NEWLINE# #UNINDENT# return res