code: def linez(self, lines):
          
          shapeType = POLYLINEZ
          self._shapeparts(parts=lines, shapeType=shapeType)
docs: Creates a POLYLINEZ shape.
          Lines is a collection of lines, each made up of a list of xyzm values.
          If the z (elevation) value is not included, it defaults to 0.
          If the m (measure) value is not included, it defaults to None (NoData).