Answers for "accessing python dictionary values with dot"

0

accessing python dictionary values with dot

class dotdict(dict):
    """dot.notation access to dictionary attributes"""
    __getattr__ = dict.get
    __setattr__ = dict.__setitem__
    __delattr__ = dict.__delitem__
Posted by: Guest on May-28-2021

Code answers related to "accessing python dictionary values with dot"

Python Answers by Framework

Browse Popular Code Answers by Language