Hello,

I'm writing an application which will hold a database of people. Ofcourse,
people can have the same name, so I want to stock them with an unique ID.

I've searched and found some things:
- uuid.uuid4()
- id(name)
- os.urandom(n)

But they seem overkill to me. Well, maybe not id().

What should I use the best for this? Maybe examples of other programs that
do something alike?

Thanks,
Timo
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to