I encountered the error " ZIPCODES does not exist" when I ran below code using PyScripter. Can you please help by letting me know where I am wrong.
import arcpy, sys
from arcpy import env
# Set the workspace environment
env.workspace = r"C:\EsriPress\GISPython\Data\SampleData.gdb"
# Check the spatial references for a feature class in the workspace
fcName = "ZIPCODES_poly"
fcNameProperties = arcpy.Describe(fcName)
print fcNameProperties.spatialReference.name