desc = arcpy.Describe ("FeatureClass") print desc.path
import arcpy, os arcpy.env.workspace = os.getcwd() for gdb in arcpy.ListWorkspaces("*","Access"): print "Access: "+gdb for gdb in arcpy.ListWorkspaces("*","FileGDB"): print "FGDB: "+gdb
fc = arcpy.getParamaterAsText(0) fieldName = arcpy.getParamaterAsText(1) newName = arcpy.AddFieldDelimiters(fc, fieldName) sqlExp = newName + " = 5"
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.