I need to write to a .txt file using python that gives me how many records are in a table.
Example:
Let's say an attribute table has a field name Color and there are many different colors but all I need are the counts for Yellow, Blue and Green.
The table consists of thousands of records but I just want a text file to show how many records there are for each color.
So the text file would be:
Yellow, 700
Blue, 505
Green, 230
أكثر...
Example:
Let's say an attribute table has a field name Color and there are many different colors but all I need are the counts for Yellow, Blue and Green.
The table consists of thousands of records but I just want a text file to show how many records there are for each color.
So the text file would be:
Yellow, 700
Blue, 505
Green, 230
أكثر...