I need a little help with python.
I have written a small program and would now like to store a bool value outside the program, so that a certain action in the program is only executed if the bool was True
or False
.
It is important that the value is retained even if the program is not running. In addition, the bool must be able to be set when the program is running.
I am grateful for any help.
I hope I get an idea now on how exactly this can be done.