http://physics.syr.edu/~salgado/vpython/
points to Windows .reg file that seems to fix the problem of IDLE shutting
down when the animation window is destroyed.
You may have to customize it for your setup.
(Yes, I'm still using an older release of VPython.)
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Python.File]
@="Python File"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Python.File\shell]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Python.File\shell\Edit in IDLE-VPython]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Python.File\shell\Edit in
IDLE-VPython\command]
@="C:\\Python23\\pythonw.exe C:\\Python23\\Lib\\idlelib\\idle.pyw \"%1\" %*"
rob
|