Getting list element's Attribute
<p>I have two list.
List1 contain objects and each object has node1 property.
List2 contain lists of node which are the properties of objects stored in list1.</p>

<p>I want to create separate list which contain list of objects whose node present in list2. I want to create this list without using for loop because my object list is large so code takes long time to run if I use for loop.</p>

<p>How can I achieve this in python? </p>
