George Sakkis <[EMAIL PROTECTED]> writes: > On Oct 16, 7:35 am, Laurent Pointal <[EMAIL PROTECTED]> > >> How does it compare to the scalar module ? >> (seehttp://russp.us/scalar.htm) > > or the Unum module (http://home.scarlet.be/be052320/Unum.html) ?
Both scalar and unum treat units as variables. You are supposed to import them, so you end up with variables like M and S in your namespace. And they don't seem to be able to understand prefixes as they combine with variable names. On the other side, they both provide something that magnitude does not have: the ability to define arbitrary units. magnitude limits you to combinations of the standard SI units, plus dollar and bit. It is trivial to implement user generation of arbitrary names for these combinations, but not of arbitrary independent units. jm -- http://mail.python.org/mailman/listinfo/python-list