view python/namespace.py @ 630:6e6a2adaa9f6

file modes
author Jeff Hammel <k0scist@gmail.com>
date Thu, 20 Feb 2014 12:11:17 -0800
parents 0a979b847461
children
line wrap: on
line source

class Namespace(object):
    def __init__(self, **kwargs):
        for key, value in kwargs.items():
            setattr(self, key, value)