can you get around this error!

Ignacio Vazquez-Abrams ignacio at openservices.net
Sat Sep 8 22:15:23 EDT 2001


On Sat, 8 Sep 2001, Ignacio Vazquez-Abrams wrote:

> On Sat, 8 Sep 2001 fett at tradersdata.com wrote:
>
> > I have a program witha long interger and i get the following error when
> > i try to run it.  I am curious as to whether there is a way around it.
> >
> >
> > Here is the error:
> > OverflowError: integer literal too large
>
> Well, the off-the-cuff answer would be "use long integers", but since you
> seem to already be using them, we'll need to see some code.

Oh man, I'm really not on the ball right now.

Put an 'L' after your integer literal.

-- 
Ignacio Vazquez-Abrams  <ignacio at openservices.net>





More information about the Python-list mailing list