2 ms·
Re: ConfigParser, do you guys have any idea where it could be more interesting to use a conf file instead of a regular "settings.py" file, where you could set y
by rglullis 18y ago
Re: ConfigParser, do you guys have any idea where it could be more interesting to use a conf file instead of a regular "settings.py" file, where you could set your parameters?
The only case I can think of is one where your configuration may be used by a non-Python application.
- etal 18y agoThe INI format lets you group your options with less syntax, if you need more than just the top level. (It's still much less flexible than YAML, though.) Other than that, yeah, mainly legacy config files and programs that weren't written in Python.