On 30/11/2011 12:32, Neal Becker wrote:
I like to hash a list of words (actually, the command line args of my program)
in such a way that different words will create different hash, but not sensitive
to the order of the words.  Any ideas?

How about?

  hash (frozenset ("hello world".split ()))

TJG
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to