Jan-10-2022, 10:12 AM
I only tinker with this stuff, by no means and expert.
I modified myApp() this morning, now it saves and displays the json nicely formatted, all the values are lists.
The annoying thing with inflect is, it always returns thousands followed by a comma, except when there are no hundreds, like "one thousand, " then the hundreds. That messed up my attempt to reinstate the string as a list.
If you want I can post it. I'm sure no one else is interested.
But like I said, I would go for a dictionary of dictionaries, keep numbers as numbers and strings as strings, that makes things very simple.
Was fun for me!
I modified myApp() this morning, now it saves and displays the json nicely formatted, all the values are lists.
The annoying thing with inflect is, it always returns thousands followed by a comma, except when there are no hundreds, like "one thousand, " then the hundreds. That messed up my attempt to reinstate the string as a list.
If you want I can post it. I'm sure no one else is interested.
But like I said, I would go for a dictionary of dictionaries, keep numbers as numbers and strings as strings, that makes things very simple.
Was fun for me!