Using the Random Module.

Michiel Overtoom motoom at
Fri Jul 11 20:15:39 CEST 2008

You wrote...

>Is there a better way to do that besides doing this:
>>>>random.randint(00000000000000000, 99999999999999999)

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

More information about the Python-list mailing list