Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Oasis montaj may also be extended using Python. You and users of your extensions must install Python on their desktop systems to use Python.

Python scripts that are written as an extension can be run directly from the  button, or the  Settings / Run GX... menu item, or by specifying the name of the script with .py extension as an ITEM entry in an omn file (see Oasis montaj Menus).

The Python Tutorial for Geosoft GX Developer provides an overview of Python with lessons that demonstrate how to create extensions (see see Hello WorldWorld#DesktopExtension), and how to add an extension to a menu (see Create a Menu to Run Python Extensions).

See also Python Stand-Alone that  that describes how to run Python scripts directly from the Python interpreter.