IPython Pane

../../../../../../../../_images/ipython_pane.png

Figure 1: The IPython pane.

The IPython pane in the program is an implementation of IPython, a shell utility (among other things) that allows users to run Python-based scripts in their model from within the program interface. Without it, Python scripts associated with models would need to be run in a separate shell. See https://ipython.org/ for complete information about IPython.

The following description of IPython is quoted from the front page of https://ipython.org/.

IPython provides a rich architecture for interactive computing with:

  • A powerful interactive shell.
  • A kernel for Jupyter.
  • Support for interactive data visualization and use of GUI toolkits.
  • Flexible, embeddable interpreters to load into your own projects.
  • Easy to use, high performance tools for parallel computing.

With respect to Itasca software, the first point is the critical one: it is the shell provided so that Python scripting can be performed in the modeling process. The IPython shell supplied by the IPython pane is compatible with and connected to the distribution of Python 3.6 supplied with the program, so no configuration is required.

Users will also note that, as far as panes in the program go, the IPython pane is “bare bones” by design. It does not supply any tools on the toolbar, and it does not connect to many menu commands. It does, however, provide text selection and copy/paste facilities and a few other basic operations via right click in the pane.

For further exploration of IPython pane, any of the tutorials available will amply demonstrate its operation and action.

The tutorials are followed by a page of Frequently Asked Questions that address inquiries that may arise once familiarity with Python and the IPython pane have been established.