I think what you want is the traits package from SciPy (from Enthought). Paper here: http://python.fyxm.net/pycon/papers/traits.html
Unfortunately, the code has moved, and I don't know where it has gone. Laura In a message of Tue, 15 Feb 2005 21:51:34 +0100, Christian Mascher writes: <snip> >I think as a physicist, don't know how they do it in finances. > >BTW, how does one express units of measure in Python/programming? >Calculations in applications aren't just about numbers. For instance, >how could one express equations like > 10000 cm^2 == 1 m^2 > 1000 g == 0.001 t >in a programming language? Another point would be the inclusion of a >measure of accuracy: >For a physicist or engineer > 1 cm != 1.00 cm >because the first could be 0.9 cm, the second couldn't, beeing more >accurate. > >Greetings, > >Christian _______________________________________________ Edu-sig mailing list Edu-sig@python.org http://mail.python.org/mailman/listinfo/edu-sig