view python/namespace.py @ 768:1b8ea3a0cc9e

stress.sh
author Jeff Hammel <k0scist@gmail.com>
date Thu, 11 Feb 2016 18:29:57 -0800 (2016-02-12)
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)