Applied Mathematics
University of Colorado at Boulder
Typed variables with validation and automatic GUI generation:
from enthought.traits.api import HasTraits, Int, Float class C(HasTraits): n = Int(10) x = Float(5.5) a = C() a.edit_traits()
.ini / .conf style file read/write tool with nested sections and comment preservation:
# Top-level of the configuration m = 1 # A section [Protocol] ptype = 'http' # A subsection [[Handler]] key = 'foo'
Where is TConfig?
http://ipython.scipy.org/svn/ipython/ipython/branches/saw/sandbox/tconfig
DEMO