Thanks - re: Question re division

ahimsa ahimsa at onetel.net.uk
Mon Dec 30 04:42:51 EST 2002


My thanks to the collective of Dan Bishop, Tim Peters, John Roth and
Dennis Bieber for your replies to my question regarding division ( to /
or to // ) and I will upgrade my python release to the full 2.2. Also,
thanks for the PEP link Dan.
I guess then that the short answer to all of this is that whenever I'm
doing something that will call for division, then err on the side of
user distrust and import the futures module to handle whatever the user
inputs in a fail-safe way so that it is treated as a floating point
regardless of how it is inputted. Did I get that straight? Only one cup
of coffee so far and my brain cells are having a duvet day!! :-)

All the best for 2003 folks.

AmF



-- 

________________________%%%%%%%%%%%%%%%%%____________________________

Proudly sent using Ximian Evolution 1.2.1 on a Linux Red Hat 8.0 box.





More information about the Python-list mailing list