Using the Random Module.

WDC ki4yjl at
Fri Jul 11 20:29:04 CEST 2008

On Jul 11, 2:15 pm, Michiel Overtoom <mot... at> wrote:
> You wrote...
> >Is there a better way to do that besides doing this:
> >>>>random.randint(00000000000000000, 99999999999999999)
> >09657398671238769
> Maybe this?
>         random.randint(0, 9e16)
> --
> "The ability of the OSS process to collect and harness
> the collective IQ of thousands of individuals across
> the Internet is simply amazing." - Vinod Vallopillil

That would work yes, but is there a random() function that would do
that without the attributes? Not trying to be lazy, I just want to
know if there is a built in way.

Thanks Michiel.

More information about the Python-list mailing list