unique number generator
Nelson Minar
nelson at monkey.org
Wed May 19 12:55:40 EDT 2004
"Joe Wong" <joewong at mango.cc> writes:
> There is a constraint that the number can be at most 8 digits, ie:
> 00000000 ~ 99999999
What an odd constraint. Is this your homework?
Your best bet is to issue increasing serial numbers from a process
that's properly mulithreaded and persistent. If you're really lazy,
install MySQL and have it generate unique IDs for you.
More information about the Python-list
mailing list