DuncanRager

gp.listfields Method

Discussion created by DuncanRager on Mar 8, 2011
Latest reply on Mar 8, 2011 by JScheirer-esristaff
Greetings,

Basic question... I'm trying to list out the names of all the fields in a particular shapefile.

Using the gp.listfields method in the following manner...

fields = gp.listfields("[shapefile_location]")
print fields


...I get a list of items resembling, "geoprocessing describe field object object at 0x032A2F0".

How can I print the actual field names?

Thanks,

DR

Outcomes