To get the same search path, you need to make sure pyenchant is loading
the same enchant dll as the other applications on your system.
PyEnchant itself does not play any tricks with the dictionary search
path, it's all up to the underlying dll.
Try setting the environment variable "PYENCHANT_LIBRARY_PATH" to point
to the system-wide enchant dll.
If that doesn't work out for some reason, you can trying changing the
dll-finding logic at the start of enchant/_enchant.py.
Hope that helps!
Ryan
--
Ryan Kelly
http://www.rfk.id.au | This message is digitally signed. Please visit
ry...@rfk.id.au | http://www.rfk.id.au/ramblings/gpg/ for details
Thanks for you reply. I managed to solve my problem by using
enchant.set_param("enchant.myspell.dictionary.path", dictpath),
now everything works fine!
Regards,
Sandro Mani