Python class __call__ method and dot notation
Advertisements My Goal is to use dot notation to select strings from dictionarys using the SimpleNamespace modeule while having the ability to change which dictionary to use. To do this i have tried modifying the class __call__ method to change the output based on a previously set variable. However, due to the use of the… Read More Python class __call__ method and dot notation