4 ms·
You are correct, that is the simplest way. What did I not disclose in the article is that I also wanted somehow to name data. I wanted this because I also kno
by sasa_buklijas 9y ago
You are correct, that is the simplest way.
What did I not disclose in the article is that I also wanted somehow to name data.
I wanted this because I also know that in the configuration file, expect IP addressed I will also need to store sleep duration.
I just find it more articulated if I also have a name for data.
Now I use https://github.com/pasztorpisti/json-cfg https://github.com/pasztorpisti/json-cfg for storing configuration as JSON. json-cfg has the ability to add comments to JSON file.
- t0mbstone 9y agoIf you want to name your data, then you could have had a couple a different text files that were named differently
- sasa_buklijas 9y agoI meant data inside the text file. Anyway, this is more question of preference :-)
- beefield 9y agoI find plain csv a bit underrated in these kind of applications. As long as you have flat data, you can read and edit the file with practically anything without too much trouble.