On Tue, Aug 11, 2015 at 1:40 PM, Cameron Simpson <c...@zip.com.au> wrote: > I also thought the stdlib had some kind of "namespace" class with this kind > of API, but I can't find it now:-(
It does - types.SimpleNamespace(). It accepts keyword arguments, and will let you create more attributes on the fly (unlike a namedtuple). ChrisA -- https://mail.python.org/mailman/listinfo/python-list