I would like to edit a local TOML file and save it again to be used in the same Python script. In this sense, to be able to change a given parameter in loop. You can see an example of file, here.
So far, I could load the file but I don't find how to change a parameter value.
import toml
data = toml.load("scenario.toml")