can you get around this error!

Ignacio Vazquez-Abrams ignacio at
Sun Sep 9 04:15:23 CEST 2001

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

> On Sat, 8 Sep 2001 fett at 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>

More information about the Python-list mailing list