def listFields(featureClass):
    fields=ListFields(featureClass)
    out=dict()
    for fld in fields:
        if (fld.name.lower() not in ('shape_length','shape_area','shape.len','shape.length','shape_len','shape.area') and fld.name.find(".")==-1):
            out[fld.name]=fld.type
    return out

#takes the input geometry object and returns
#	a list of [name of shape field, name of shape type]
dataset/ETHPy150Open CityOfPhiladelphia/arc-open/arc_open/esri2open/utilities.py/listFields/original