diff python/namespace.py @ 588:0a979b847461

STUB: python/namespace.py
author Jeff Hammel <k0scist@gmail.com>
date Fri, 24 Jan 2014 11:59:56 -0800
parents
children
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)