Something like the following will create a list of named tuples for all of the points that make up the vertices for all of the lines in a polyline feature class:
>>> from collections import namedtuple
>>>
>>> line_fc =
>>> point_record = namedtuple('point_record','line_oid x y')
>>> points = []
>>> with arcpy.da.SearchCursor(line_fc,["OID@","SHAPE@"]) as cur:
... for oid, shape in cur:
... points.extend([
... point_record(oid, point.X, point.Y)
... for part in shape.getPart()
... for point in part
... ])
...
>>>
You can take the list of named tuples and either write it out to CSV or using an insert cursor to create a table or something else.