[Scipy-svn] r2747 - trunk/Lib/sandbox/timeseries/io/fame

scipy-svn at scipy.org scipy-svn at scipy.org
Thu Feb 22 10:01:55 EST 2007


Author: mattknox_ca
Date: 2007-02-22 09:01:51 -0600 (Thu, 22 Feb 2007)
New Revision: 2747

Added:
   trunk/Lib/sandbox/timeseries/io/fame/const.py
Log:


Added: trunk/Lib/sandbox/timeseries/io/fame/const.py
===================================================================
--- trunk/Lib/sandbox/timeseries/io/fame/const.py	2007-02-22 10:04:33 UTC (rev 2746)
+++ trunk/Lib/sandbox/timeseries/io/fame/const.py	2007-02-22 15:01:51 UTC (rev 2747)
@@ -0,0 +1,11 @@
+import cfame
+from cfame import FAME_CONSTANTS
+
+"""add constants in cfame.FAME_CONSTANTS dictionary to global namespace
+for this module"""
+
+_g = globals()
+for var, val in FAME_CONSTANTS.iteritems():
+    _g[var] = val
+    
+__all__ = list(FAME_CONSTANTS)
\ No newline at end of file




More information about the Scipy-svn mailing list