Python Scripting: How can I access different points of TableToPoints and their parameter?

I am new in using python scripts and have the following task:
I have a table with points and I applied the TableToPoints filter. Now I want to access the different points and draw lines between them (always connecting two points with a line, not all points with one line) using Line(). How can I access different points of TableToPoints and their parameter?