[Tutor] OverFlow Error

Alan Gauld alan.gauld at btinternet.com
Sat Jan 21 14:57:20 CET 2012


On 21/01/12 13:10, Shreesh bhat wrote:
> How to correct this error?
>
> * OverflowError: Python int too large to convert to C long*


Could we have some context?

What version of Python? What OS?
What does your code look like?
Can we see the full error trace please?

Otherwise, based only on what you posted, the only advice
I can give you is to use a smaller int!


-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/



More information about the Tutor mailing list