numpy array coordinates to polyline in shapefile Python

I am calculating the shortest path in a numpy array, so i have a list representing a path like [(1,3),(2,3)(3,3)]. How can I transform this into a polyline in a shapefile? Do I have to use rasters for latitude and longitude and than look up the values at the positions of the path elements or is there an easier solution?

All topic