I tried to run a python script for getting the coordinate system of a feature/shapefile as follow
>>> import arcpy
>>> from arcpy import env
>>> env.workspace="D:\data"
>>> fc="river.shp"
>>> dsc=arcpy.Describe(fc)
>>> dsc.spatialReference.Name
>>> print dsc
i'm getting following error at line 5
Attributeerror:'NoneType' object has no attribute Name.