Random...
FREDRIK HULDTGREN
tdi01fhu at syd.kth.se
Mon Mar 25 12:52:25 EST 2002
I want to generate random numbers, very large random numbers. If I use
randrange() I get an out of bounds error since it only supports numbers
up to (2**31)-1. However, I can use uniform(), but then I get the number
returned in 7.9655120654553743e+018 or something simaler, and I would
rather have it in a "L" format(796551206545537430183218312890381031L).
How do I do this?
thanx
/Fredrik
More information about the Python-list
mailing list