GazeParser.Configuration - holds GazeParser parameters

class GazeParser.Configuration.Config(ConfigFile=None)

Create GazeParser.Configuration.Config object.

Parameters:ConfigFile (str) – constructor reads parameters from this file. If None, constructor firstly try to read GazeParser.cfg in the configuration directory. If GazeParser.cfg is not found in the configuration directory, then read GazeParser.cfg in the application directory. Default value is None.

Get parameters as a dict object.


Print all parameters holded in this object.


Save configuration to a file.

Parameters:ConfigFile (str) – File name to which configuration is saved. If None, a file name from which parameters were read when constructing this object. Defaut value is None.