I would like to inquire if there is an elegant pythonic way of executing some function on the first loop iteration. The only possibility I can think of is:
f
Can't you do root.copy(something.get()) before the loop?
root.copy(something.get())
EDIT: Sorry, I missed the second bit. But you get the general idea. Otherwise, enumerate and check for 0?
0
EDIT2: Ok, got rid of the silly second idea.