python-dragonfly

Dragonfly IntegerRef getting a TypeError: 'NoneType' object is not callable error

女生的网名这么多〃 提交于 2020-01-03 03:47:06
问题 Try to get dragonfly working in Windows 10 with Python 2.7. I have a sample module that I made that im trying to get working, however Im getting the following error: Traceback (most recent call last): File "C:\NatLink\NatLink\MacroSystem\core\natlinkmain.py", line 304, in loadFile imp.load_module(modName,fndFile,fndName,fndDesc) File "C:\Users\jarrett\projects\natlink\_test.py", line 3, in <module> class ExampleRule2(MappingRule): File "C:\Users\jarrett\projects\natlink\_test.py", line 20, in

How do you recognize speech with the Python module Dragonfly?

∥☆過路亽.° 提交于 2019-12-05 17:49:11
问题 I have been trying to figure out how to use the Dragonfly module. I have taken a look at the documentation, but I can't seem to figure out how to use it. I just want to be able to recognize a few phrases and act upon those phrases. 回答1: That's correct, this example will terminate. I've seen this particular example quite a bit, and it is missing a number of key features. The first thing is that pythoncom is not imported. This provides a main loop for the program. The above from dragonfly.all