How to save application settings in a config file?

前端 未结 3 1110
萌比男神i
萌比男神i 2020-12-15 12:24

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

3条回答
  •  长情又很酷
    2020-12-15 12:38

    The Python standard library includes the ConfigParser module, which handles ini-style configuration files for you. It's more than adequate for most uses.

提交回复
热议问题