Tools for python are available from menu Tools/Python.
Record script
Why?
This action allows you to record all python called from the GUI in a file.
This can be useful if you want to launch scripts used in the GUI from the command line, for example when you do a peaksearch.
Start
In menu Tools, select python/Record Script: a dialog box opens. Select an existing file if you want to add script to the existing or type the name of a new file.
Once you have chosen or create a file, a record is done in the file each time the GUI called python through java, for example when you do a peaksearch, or a simulation.
The menu is preceed by v.
Stop
To stop recording, select the same menu Record python script again.
The menu is not by v once the record is stop.
Open console
How?
In menu Tools select Open Console: a python console opens in the console placeholder, usually, at the bottom of the view.
The console can be detached.
Why?
The main window of Fable Python is an interactive Console :

In the console you can type your favorite Python commands to do
online calculations and plot e.g. :

Will produce this plot :

Plotting
You can plot NumPy float arrays using the command :
In the future more plotting commands will be adding for plotting
y(x), 2d arrays as images, 3d plots
Scripts
You can execute a Python script using this built-in command :
Running the plottest.py script :

Produces the following plot :

Python information...
How?
In menu Tools select Python Information...
This options displays a dialog box that tests if script needed for fable are available.
Why?
If you have any problems while running fable python programs, have an jep exception, for example, you can easily check if one module is missing in fable with this tool.