Configuring Geosoft Desktop to run Python extensions
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.
Show console: 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() statementstext output to stdout (Python print statements) and stderr (Python error messages) and accept input from stdin (Python input statements). For known stable extensions that do not require a console you may choose to hide the console which makes for a cleaner user experience.
Note | ||||
---|---|---|---|---|
| ||||
Oasis montaj The Geosoft Desktop application must be closed and restarted for the Python setting to be recognized. |
...