/
_configuring_desktop

_configuring_desktop

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). 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 → 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 text 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

The Geosoft Desktop application must be closed and restarted for the Python setting to be recognized.

Related content

_Environment Variables
_Environment Variables
More like this
Environment Variables
Environment Variables
More like this
Hello World
Hello World
More like this
Create a Menu to Run Python Extensions
Create a Menu to Run Python Extensions
More like this
Python Extensions
Python Extensions
More like this
Python Extensions
Python Extensions
More like this