I am trying to get the row count resulting number into a shapefile. I can see the row count when the python is executed but have no idea how to populate an existing table with this number. The code is counting the lines from "Area_of_AddressChange.shp" and I would like my resulting count number in the "Coded" shapefile.
Here is my code so far:
[CODE] import arcpy
from arcpy import env
env.workspace = " C:\TEMP\New File Geodatabase.gdb"
#layer = "Coded"
# Count the number of lines in the following shapefile
arcpy.GetCount_management("O:\plan\dba\Addressing\Template\Data_DoNotRemove\Area_of_AddressChange.shp")
[CODE]
Thank you.l
Here is my code so far:
[CODE] import arcpy
from arcpy import env
env.workspace = " C:\TEMP\New File Geodatabase.gdb"
#layer = "Coded"
# Count the number of lines in the following shapefile
arcpy.GetCount_management("O:\plan\dba\Addressing\Template\Data_DoNotRemove\Area_of_AddressChange.shp")
[CODE]
Thank you.l