SHARE
TWEET

Untitled

a guest Jun 26th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Dict = {fc.name: fc.featureType.values()for fc in arcpy.ListFeatureClasses(r"gdb")}
  2.  
  3.     print Dict
  4.      
  5. fcs = arcpy.ListFeatureClasses()
  6. features = {}
  7. for fc in fcs:
  8.     cursor = arcpy.da.SearchCursor(fc, '*')
  9.     features[fc] = list(cursor.fields)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top