"many_years_after" <[EMAIL PROTECTED]> writes: > Well, people may input from keyboard. They input some Chinese > characters, then, I want to create a number. The same number will be > created if they input the same Chinese characters.
You seem to be looking for a hash. <URL:http://docs.python.org/lib/module-md5> <URL:http://docs.python.org/lib/module-sha> If not, please tell us what your *purpose* is. It's not at all clear from your questions what you are trying to achieve. -- \ "I was in a bar the other night, hopping from barstool to | `\ barstool, trying to get lucky, but there wasn't any gum under | _o__) any of them." -- Emo Philips | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list