_Configuration.get
- _Configuration.get(section, option)
Give the value associated to section.option. Preferably use
__getitem__and__setitem__.- Parameters:
section (
str) – The section.option (
str) – The property.
- Returns:
The value (as string).
- Return type:
str
Example
import pyagrum as gum
gum.config.get("tensor", "visibleDigits") # same as gum.config["tensor", "visibleDigits"]
# '4'
Class