I have this mesh:
With a python script, I'd like to select edge loops in the upper part first:
And the ones in the lower part:
So I can close them some way (by a face, or by adding more loops). How can I do that with Blender SDK? Thank you.
EDIT: I mean, find the edges by starting from the object data, and not by using the editor...