Yikes! What version of pyenchant are you using, on what platform, and
how did you install it? I recall a bug like this in earlier versions
but I think it was fixed.
Can you please try a small experiment to isolate this behaviour?
* Create a text file named "test.pwl" containing just the
word "hello".
* Enter an interactive python shell and do nothing else but:
import enchant
d = enchant.request_pwl_dict("test.pwl")
print d.check("hello")
* If it printed "False", then print out the enchant version info
and send it through with your reply to help me debug:
print enchant.__version__
print enchant.get_enchant_version()
* Check whether the "test.pwl" file has been overwritten.
I will try out your example script on my machine and report back.
Cheers,
Ryan