How/where to store calibration values - written by program A, read by program B
2QdxY4RzWzUUiLuE at potatochowder.com
2QdxY4RzWzUUiLuE at potatochowder.com
Wed Dec 6 05:40:50 EST 2023
On 2023-12-06 at 09:32:02 +0000,
Chris Green via Python-list <python-list at python.org> wrote:
> Thomas Passin <list1 at tompassin.net> wrote:
[...]
> > Just go with an .ini file. Simple, well-supported by the standard
> > library. And it gives you key/value pairs.
> >
> My requirement is *slightly* more complex than just key value pairs,
> it has one level of hierarchy, e.g.:-
>
> KEY1:
> a: v1
> c: v3
> d: v4
> KEY2:
> a: v7
> b: v5
> d: v6
>
> Different numbers of value pairs under each KEY.
INI files have sections.
See <https://en.wikipedia.org/wiki/INI_file#Sections>.
More information about the Python-list
mailing list