/ Published in: Python
Expand |
Embed | Plain Text
class DynVars: def __init__(self, varlist): for i in varlist: self.__dict__[i] = '' self.varlist = varlist
You need to login to post a comment.
class DynVars: def __init__(self, varlist): for i in varlist: self.__dict__[i] = '' self.varlist = varlist
You need to login to post a comment.