I am developing a program that has a settings window in which I can change various parameters for my program. What is the best way to read/save them in some kind of config f
Another popular option for configuration files is JSON - it's a simple notation which has good support from a wide range of languages.
Python has the json module in the standard library, which makes it very easy.