Starting a Python session differs somewhat depending on your operating system.
If you are on Windows, there are three different Python shells are 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.