Re:Box – Python dictionary with dot notation
by wodenokoto on Friday December 17, 2021 @05:59PM
(#29599385)
Huh, I've always seen those called attribute dict, and seen a few implementation in different projects over the years.
They are quite fun to build yourself, if you are a novice in Python classes and inheritance.
A working implementation doesn't have to be as big as box, it can just be a few lines, if you don't need the class to import yaml files, etc. by itself
They are quite fun to build yourself, if you are a novice in Python classes and inheritance.
A working implementation doesn't have to be as big as box, it can just be a few lines, if you don't need the class to import yaml files, etc. by itself