numeric limits?

David Abrahams david.abrahams at rcn.com
Thu Jun 6 18:38:13 EDT 2002


Thanks, that's a big help.

-Dave
----- Original Message -----
From: "Gary Herron" <gherron at islandtraining.com>
To: "David Abrahams" <david.abrahams at rcn.com>; <python-list at python.org>
Sent: Thursday, June 06, 2002 4:27 PM
Subject: Re: numeric limits?


> On Thursday 06 June 2002 01:15 pm, David Abrahams wrote:
> > Is there some straightforward way to find out the range of a Python Int
(in
> > code)?
>
> Use sys.maxint :
>
> >>> import sys
> >>> sys.maxint
> 2147483647
>
> Gary Herron
>
>






More information about the Python-list mailing list