[vtkusers] iPython

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Mon Sep 27 12:18:20 EDT 2004


>>>>> "PR" == Prabhu Ramachandran <prabhu at aero.iitm.ernet.in> writes:

>>>>> "CM" == Charles Moad <cmoad at indiana.edu> writes:
    CM> How would I go about making vtkpython run ipython instead of
    CM> normal python?  I set PYTHON_EXECUTABLE to /usr/bin/ipython,
    CM> but running vtkpython still invokes the normal python shell.

    PR> vtkpython -c "from IPython.Shell import IPShellEmbed; ips
    PR> =IPShellEmbed(); ips()"

Arghh, easier still,

 vtkpython /path/to/ipython

cheers,
prabhu



More information about the vtkusers mailing list