Versions Compared

Key

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

...

DLLGEOSOFT_PYTHON_
Environment VarableRegistry Key Use
GEOSOFT_PYTHON_HOMEPYTHON_HOMEFolder that contains Python distribution (3.4+) to use. This folder contains python.exe.
GEOSOFT_PYTHON_PYTHON_DLLGeosoft Desktop will attempt to launch a background process of the python.exe interpreter found using PYTHON_HOME, from which process inspection is used to determine the location of python.dll. The PYTHON_DLL variable should not be necessary, but is provided to deal with a non-standard Python implementation.SHOW_CONSOLE PYTHON_SHOW_CONSOLE  If '1' (true), a console is spawned for the duration of every script. Console input and output (such as the output from print() statements) is directed to and from this console. The console remains open after termination of the script and requires the user to close the console window, or enter ctrl-C at the keyboard.
GEOSOFT_PYTHON_DLLPYTHON_DLLGeosoft Desktop will attempt to launch a background process of the python.exe interpreter found using PYTHON_HOME, from which process inspection is used to determine the location of python.dll. The PYTHON_DLL variable should not be necessary, but is provided to deal with a non-standard Python implementation.

Stand-Alone Python Programs

...