Convert long integer to string

Roman Suzi rnd at onego.ru
Thu May 24 03:26:33 EDT 2001


On Thu, 24 May 2001, erik wrote:

> Hi,
>  how convert long integer ( >2147483647 ) to string whithout "L" on end?

>>> str(1222222222222222222222222222222222222222222222L)
'1222222222222222222222222222222222222222222222'



> 
> Thanks Erik.
> 
> 

Sincerely yours, Roman A.Suzi
-- 
 - Petrozavodsk - Karelia - Russia - mailto:rnd at onego.ru -
 





More information about the Python-list mailing list