'reading boolean condition from config file

Based on the answer given by Martineau in this question reading boolean condition from config file

is it possible to specify an extra command?

[mysettings]
other=stuff

    conds=
        x >= 10
        y < 5
        x + y >= 6
    
    if all above true z = z*2

Sorry for this question , i am new to python



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source