3 ms·
In python, I just go with "config.py".
by wdroz 4y ago
In python, I just go with "config.py".
- abdusco 4y agoYeah. It's easy to write, easy to read. It takes zero effort to parse. Serializing as "python file" might be a bit awkward.
- albrewer 4y agoI only do this for configurations that aren't meant to be used by non-programmers. I don't want to have to explain for the billionth time that something like the path "C:\New Folder" isn't going to work as-written in a string literal, or that the name "type" is already taken.