Geosoft Desktop can also run Python scripts as extensions that work within the context of a running Geosoft Desktop (Oasis montaj) application. Before running a Python extension Desktop needs to be configured to identify the location of your Python interpreter. To do this, open Oasis montaj and select Settings → Globl Settings → Python:
Browse to the folder that contains the python.exe interpreter.
The Python console is a console window that will display any Python messages generated when a Python script is run, which includes the output from any print() statements.