I ran into a situation where the results of an UpdateCursor was empty. After a "for row in rows:" loop, the "del row" generated and error and prevents the script from finishing. I tried using the None object without sucess, i.e. "if row == None: del row". I'm pretty basic when it comes to python, so this try statement really helped me out. Thanks!
... View more