[EMAIL PROTECTED] wrote: > dict = {}
As a general rule you should avoid variable names which shadow built in types (list, dict, etc.). This can cause unexpected behavior later on. Also, variable names should be more descriptive of their contents. Try word_dict or some such variant -- http://mail.python.org/mailman/listinfo/python-list