shp.shape python code example Example: read shp in python import geopandas as gpd shapefile = gpd.read_file("shapefile.shp") print(shapefile)