AnsweredAssumed Answered

Calculate summary statistics in Python - return result NOT a table

Question asked by treemanforest on Aug 5, 2013
Latest reply on Aug 14, 2013 by Wayne_Whitley
I want to use python to calculate the area of a number of different fields (using where clauses to filter results) and then output results to my own text file.

The summary statistics tool lets you output a separate table but I don't want an external table:

I just want to return the results within python, eg:
- create selection
- return sum area for a field within that selection
- do something with the returned result

How can I do this without creating separate tables in dbf? It must be really simple to do.

Thank you