Unless you need to skip a row, row1 = cursor1.next()
isn't needed when you're already in a loop like for row1 in cursor1:
. The loop will automatically go to the next record for you.
Marc Pfister
- 4.1k
- 17
- 11