Martin Musatov wrote: > word_set = set() [snip SIXTEEN THOUSAND words copied from a spelling dictionary]
If you have a question, please: - ASK THE QUESTION, we cannot read your mind; - don't send us thousands of lines taken straight out of a dictionary, just use the SMALLEST amount of sample data needed to demonstrate the problem; three or four words is enough, no need to waste everyone's time and bandwidth with sixteen thousand words; - choose a MEANINGFUL subject line, there is no need to paste the entire body of your code in the subject line. Thank you. -- Steven -- http://mail.python.org/mailman/listinfo/python-list