对python 读取线的shp文件实例详解 如下所示:importshapefilesf=shapefile.Reader("E:\\1.2\\cs\\DX_CSL.shp")shapes=sf.shapes()printshapes[1].partsprintl shp文件