[vtkusers] running python from the interpreter

Eduardo Suarez eduardo at ctm.ulpgc.es
Tue Mar 1 13:24:14 EST 2005


Thanks a lot for your comment. My main problem is that i'm also using 
itk and it takes a lot to load the itk module every time i need to 
restart again.

-Eduardo

Prabhu Ramachandran wrote:
>>>>>>"ES" == Eduardo Suarez <eduardo at ctm.ulpgc.es> writes:
> 
> 
>     ES> I have seen the changes in QVTKRenderWindowInteractor.py and
>     ES> it works much better. However,
> 
> [...]
>     ES> When i press 'q', the windows freezes and the interpreter is
>     ES> released.  But the windows is still there. Is this the normal
>     ES> behavior? If i kill the window, the interpreter dies.
> 
> Running a GUI application from an interactive Python interpreter isn't
> without its perils.  If you really want to do this you should try with
> the Tk based widgets rather than with the Qt one.  If you haven't
> written any GUI apps using Python, then you should first learn one of
> them before messing with these widgets.
> 
> cheers,
> prabhu



More information about the vtkusers mailing list