I got the speech module to work actually, except for input. Only say works.
Here's a traceback on speech.input.
Traceback (most recent call last):
  File "C:\Python26\test.py", line 6, in <module>
    print speech.input()
  File "C:\Python26\speech.py", line 162, in input
    listener = listenforanything(response)
  File "C:\Python26\speech.py", line 193, in listenforanything
    return _startlistening(None, callback)
  File "C:\Python26\speech.py", line 222, in _startlistening
    context = _recognizer.CreateRecoContext()
  File
"C:\Python26\lib\site-packages\win32com\gen_py\C866CA3A-32F7-11D2-9602-00
C04F8EE628x0x5x0.py", line 2457, in CreateRecoContext
    ret = self._oleobj_.InvokeTypes(10, LCID, 1, (9, 0), (),)
com_error: (-2147352567, 'Exception occurred.', (0, None, None, None, 0,
-214722
1164), None)
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to