Unit balancing

2006-09-13 Thread AbrahamLincolnIllinois
Greetings!

I am working with a researcher who would be very happy if he could
include units in his calculations.  Then, if his complicated expression
didn't result in "kg/yr" the program would stop and point out his
error.

Does Python (or SciPy or ..) offer this feature?

Thanks for your help.  


   Abraham

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Unit balancing

2006-09-14 Thread AbrahamLincolnIllinois
Thanks, all.  

We will investigate Unum.  


  Abraham

-- 
http://mail.python.org/mailman/listinfo/python-list


"Learning Python" 2nd ed. p479 error?

2006-05-26 Thread AbrahamLincolnIllinois
Hello all.

On page 479, the 2nd edition of the "Learning Python" book, this code
appears

class Derived(Base):
def __init__(self, arg, *args, **kw):
self.__init__(self, *args, **kw)

Surely self.__init__ should be

Base.__init__

Everything else in the book has been crystal clear.  Up to page 479!
It doesn't appear in the errata.  What am I misunderstanding?


  Regards,

  Abraham

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: "Learning Python" 2nd ed. p479 error?

2006-05-27 Thread AbrahamLincolnIllinois
Thanks for your help, guys.  I'm convinced it is a bug, not a
misunderstanding.  I submitted it to the errata page at O'Reilly.


   Regards, 

   Abraham

-- 
http://mail.python.org/mailman/listinfo/python-list