try this! #the basic win32com interface generated by makepy.py from rhinov4scripttypes import RhinoScript import time import win32com.client #init rhino Rhino = win32com.client.Dispatch("Rhino4.Application") time.sleep(3) Rhino.Visible = True RS = Rhino.GetScriptObject RS = RhinoScript(RS) RS.AddLine((0,0,0), (1,1,1)) cu