string to big int

Axel Grune NineOfSix at
Sat Aug 31 17:51:45 CEST 2002

Hi, Im wondering how to convert a string which contains a huge integer 
("10000000000007") to a real integer (type int). When I ask int() to 
this it replies:

Traceback (most recent call last):
   File "C:\", line 43, in ?
   File "C:\", line 29, in main
     no = int( argv)
ValueError: int() literal too large: 10000000000007

any ideas?


More information about the Python-list mailing list