I was trying to code a search engine with speak recognition, using Tkinter interface. When i try to run, it works fine. But when i try to click on microphone, it stops working. I couldn't get where is the error. My google api key is not private, but please do not use it. Codes are in the link below: https://github.com/AntonioDaSilva/SpeechRecognition Thank you all.
Asked
Active
Viewed 125 times
0
-
You should not ignore the exceptions with simple `pass`, exceptions provide valuable information about errors. http://stackoverflow.com/questions/21553327/why-is-except-pass-a-bad-programming-practice – Nikolay Shmyrev May 17 '17 at 15:14
-
yeah it's true but i think it is not the real problem in my program. When i click on microphone, i hear the first sound but it does not send it to search after i talk. – AntonioDaSilva May 17 '17 at 15:54
-
I think exception happens but you simply ignore it – Nikolay Shmyrev May 17 '17 at 16:53
-
ok i will have a look at code, thanks :D – AntonioDaSilva May 17 '17 at 21:51