zLineFromPoints.py

from pygeo import *

v=display(scale=7)

zp1=zFreePoint(1,3,color=BLUE)
zp2=zFreePoint(-1,-2,color=BLUE)

zline=zLineFromPoints(zp1,zp2,color=RED)
zPlane()
v.pickloop()