Versions Compared

Key

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

Stand-alone Python scripts are those that can be run directly from the Python interpreter.  Such a script will create a Geosoft context by calling geosoft.gxpy.gx.GCpy(), followed by further us use of the geosoft.gxpy and geosoft.gxapi module interfaces. See Hello World#StandAlone, which provides a simple example as part of the Python Tutorial.

Ffollowing Following is a sample script that will add a value to a channel of a database (https://github.com/GeosoftInc/gxpy/blob/master/examples/stand-alone/chanadd.py):

...