[Paraview] Problem pasting in the GUI shell

Louis at M-Tech llg at mtechindustrial.com
Mon Dec 1 03:46:00 EST 2008


Hi

 

Should I be able to paste a series of commands into the GUI Python shell and
then get the interpreter to process those?

 

Perhaps its an issue about eol characters?

 

In any case, I can paste 1 line but not a series of lines like the
following:

 

import vtk

pts=vtk.vtkPoints() 

pts.Initialize()

pts.InsertNextPoint(0,0,0)

pts.InsertNextPoint(1,0,.0)

pts.InsertNextPoint(2,1,0)

pts.InsertNextPoint(3,3,0.)

 

 

The shell does not process them automatically - whereas the standard Python
shell outside the GUI does.

 

Thanks in advance,

Louis

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20081201/10de5882/attachment.htm>


More information about the ParaView mailing list