VocabReminder
English dictionary with notifications so you won't forget what you're studying!
Click here for more info about the app
VocabQuiz
The app that quizzes and scores you on your vocabulary!
Click here for more info about the app

Dynamic Attributes in Python Model Class

       

class Bar():
    def __init__(self, **args):
        for key in args:
            self.__dict__[key] = args[key]

b = Bar(fullname="Monty Python", email="me@monthpython.org")
b.fullname #=> Monty Python
b.email #=>me@montypython.org
Tagged w/ #dict #dynamc #pythonpython