Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

Create Custom Function

$
0
0
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, mycount.py ) that you call
from another script ( for example, callingscript.py ). You can use the
streets.shp feature class in the Exercise12 folder.
Attached Files

Viewing all articles
Browse latest Browse all 2485

Latest Images

Trending Articles



Latest Images