I am using the following Highlighter class for Spell Checking to work on my
QTextEdit.
class Highlighter(QSyntaxHighlighter):
pattern = ur'\w+'
def __init__(self, *args):
QSyntaxHighlighter.__init__(self, *args)
self.dict = None
def setDict(self, dict):
Im required to import ha certain dll called 'NHunspell.dll' which is used for
Spell Checking purposes. I am using Python for the software. Although I checked
out several websites to properly use ctypes, I have been unable to load the dll
properly.
When I use this code.
from ctypes import
Thanks for the reply Mark. I did what you suggested.
But now I'm getting an error like this.
Traceback (most recent call last):
File start.py, line 15, in module
hunspell = cdll.LoadLibrary('/home/kuro/Desktop/notepad/Hunspellx64.dll')
File /usr/lib/python2.7/ctypes/__init__.py, line
Thanks Dave.
I'm using Python 2.7 and am working on Linux Mint.
Does it mean that I cant load the functions within the dll whilst on Linux. I
thought that was what ctypes was used for.
Please correct me if I misunderstood what you meant.
--
http://mail.python.org/mailman/listinfo/python-list
On Tuesday, June 25, 2013 12:08:17 PM UTC+5:45, aksha...@gmail.com wrote:
Im required to import ha certain dll called 'NHunspell.dll' which is used for
Spell Checking purposes. I am using Python for the software. Although I
checked out several websites to properly use ctypes, I have been
Thanks everyone. But it still did not work. I instead used a Python wrapper for
Hunspell called Pyhunspell. The actual link in PyPi does not work for Python
2.7 but it has been improved and upgraded in
[here](https://github.com/akshaylb/nepali-spellchecker-v2/tree/master/pyhunspell).
--