Random...

Chris Gonnerman chris.gonnerman at newcenturycomputers.net
Wed Mar 27 08:26:34 EST 2002


Perhaps I'm stupid... what the heck is wrong with the OP's message?

----- Original Message -----
From: "Wojtek Walczak" <gminick at hacker.pl>


> ** Since micro$oft is stupid it doesn't mean
> ** that you should be stupid too - do NOT toppost.

This is much ruder than normal for this group.  Aren't we the kinder,
gentler USENET?

> Dnia Mon, 25 Mar 2002 18:52:25 +0100, FREDRIK HULDTGREN napisał(a):
> >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?
> <http://hacker.pl/gminick/pliki/veryrand.py>
> HTH.
>
> --
> [ Wojtek gminick Walczak ][ http://hacker.pl/gminick/ ]
> [ gminick (at) hacker.pl ][ gminick (at) klub.chip.pl ]
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>





More information about the Python-list mailing list