Geosoft Desktop can also run Python scripts as extensions that work within the context of a running Geosoft Desktop application (Oasis montaj, Target or the Viewer) 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 Global 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.
Note | ||||
---|---|---|---|---|
| ||||
Oasis montaj The Geosoft Desktop application must be closed and restarted for the Python setting to be recognized. |
...