Make python shell dockable.
pqPythonShella widget that is fairly self-contained. Now one can create as may
pqPythonShellinstances as needed.
- ParaView simply places a
pqPythonShellin a dock widget to add Python shell to the application.
pqPythonShelldoes not init Python immediately, but does so when the shell gets focus or attempts to execute some Python snippet.
- When load Python state, or run macros, they will now run in the global interpreter context, rather that in the Python shell.
- Cleanly handles capturing of output/error messages or input request coming from code executing in Python shell or else where e.g. macros, or loading of Python state.