+/-infinity in Python?

Alexander Schmolck a.schmolck at gmx.net
Sat Nov 15 21:43:57 CET 2003

Andreas Neudecker <a.neudecker at uni-bonn.de> writes:

> Hi.
> Is there anything like +infinity and -infinity available in Python, and can it
> be used in comparisons together with int or float numbers?

The newest version of numarray and scipy should offer the functionality you
want (at least for supported platforms).


More information about the Python-list mailing list