S
S
Slavka2015-11-22 22:17:31
linux
Slavka, 2015-11-22 22:17:31

How to write your own config file?

In general, such an idea, I will have several Raspberry PI devices, the same code will be executed on them, but each device has initials, so I think to store them in a file with keywords like:
[name] =
[id] =
and then look for keywords and parse the line with the word.
As far as this is a good idea, can anyone have examples of how to implement this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
cthulhudx, 2015-11-22
@Slavka_online

Config parser
how to read and write INI file with Python

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question