[vtkusers] running python from the interpreter

Eduardo Suarez eduardo at ctm.ulpgc.es
Mon Feb 28 14:42:31 EST 2005


I would like to know if it is possible to run from python a renderwindow 
example, and then to run it again. Or just to run it and then exit 
without breaking. I have tried but i get next error

[otto:python_itk_vtk/ 513]$ python
Python 2.3.5 (#2, Feb  9 2005, 00:38:15)
[GCC 3.3.5 (Debian 1:3.3.5-8)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> import RenderWithVtk

[works ok, but when i click close windows (q key does not work)...]

X connection to :0.0 broken (explicit kill or server shutdown).
[otto:python_itk_vtk/ 514]$

Thanks a lot,
-Eduardo



More information about the vtkusers mailing list