python

Runs python scripts in an environment where all the Gaffer modules are available.

Caution

This application is deprecated. Use gaffer env python instead.

-help

Prints names and descriptions of each parameter rather than running the application.

-threads

The maximum number of threads used for computation. The default value of zero matches the number of threads to the available hardware cores. Negative values specify a thread count relative to the available cores, leaving some in reserve for other applications. Positive values specify the thread count explicitly, but are clamped so it does not exceed the available cores.

-profileFileName

If this is specified, then the application is run using the cProfile profiling module, and the results saved to the file for later examination.

-file

The python script to execute

-arguments

An arbitrary list of arguments which will be provided to the python script in a variable called argv.