Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fc_row_count = []
- for fc in firms_distance_panel_fc:
- countrows_result = ap.GetCount_management(fc)
- count = int(countrows_result.getOutput(0))
- fc_row_count.append(count)
- same_count = fc_row_count.count(fc_row_count[0]) == len(fc_row_count)
- if same_count:
- print "Pass"
- else:
- print "At least one feature class have a different number of observation from the other feature classes"
- sys.exit()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement