changeset 588:0a979b847461

STUB: python/namespace.py
author Jeff Hammel <k0scist@gmail.com>
date Fri, 24 Jan 2014 11:59:56 -0800
parents e10d85ee0be3
children 680071699d35
files python/namespace.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/python/namespace.py	Fri Jan 24 11:59:56 2014 -0800
@@ -0,0 +1,4 @@
+class Namespace(object):
+    def __init__(self, **kwargs):
+        for key, value in kwargs.items():
+            setattr(self, key, value)