Starting from basics, you can loop over one list and use a counter to index
into the same location on the matching target list:
x = ["a1","b1","c1"]
y = ["a2","b2","c2"]
i = 0
for item in x:
print item, y[i]
i += 1
Python provides an automatic way to do this approach:
for i, item in
You can use zip (as in zipper) to combine the lists as you want.
for g,t in zip(GEO,TGT):
Some_func(g, t)
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from
Hello,
My first post here. I hope it's not too basic for you guys. I've been
scripting for a while teaching myself, so please forgive my ignorance. I've
been poking around for information on this and haven't run into the right
post.
I have two sets of objects. One a set of base meshes,