4. The Python Console and the Online Help

Along with the graphical user interface, baspl++ contains a Python console. This console can be used for many purposes, for instance as a calculator:

>>> 7*15

All baspl++ objects and classes can be accessed from this console. The online reference of the baspl++ Python interface follows the Python documentation conventions. Thus, the starting-point to the online documentation is entered by typing

>>> help

A list of the baspl++ classes is obtained by typing

>>> overview

Help on a particular class (e.g. class NPart) is obtained by typing

>>> help(NPart)

Help on a particular object (e.g. the default Scene object referenced by the variable s) is obtained by typing

>>> help(s)