2. Starting a Python session

Starting a Python session differs somewhat depending on your operating system.

2.1. Windows

If you are on Windows, there are three different Python shells available under the JModelica.org start menu.

  • Python Normal command shell started with Python.

  • IPython Interactive shell for Python with, for example, code highlighting and tab completion.

  • pylab IPython shell which also loads the numeric computation environment PyLab.

It is recommended to use either the IPython or pylab shell.

2.2. Linux

To start the IPython shell with pylab on Linux open a terminal and enter the command:

> $JMODELICA_HOME/bin/jm_ipython.sh -pylab