Create Custom Function

Discussion created by ross.romero on May 6, 2014
Latest reply on May 8, 2014 by eibenm
Please bare with me. I'm very new to python and programming in general. I have a challenge for a class and just need help getting started. I have attached the streets.shp file. Any help would be greatly appreciated.

Challenge 1
Create a custom function called countstringfields that determines the
number of fields of type string in an input feature class. Create this
function in a separate script ( for example, ) that you call
from another script ( for example, ). You can use the
streets.shp feature class in the Exercise12 folder.