This is basically a virtual assistant built using python.
Wx ,wolframalpha and wikipedia modules are used here.
Google speech recongition tool is used for voice commands
wx is a cross platform GUI for python.
Wikipedia and wolframalpha modules are downloaded , installed and imported python modules.
You need to install PyAudio for running speech recongnition on windows 10
Use this code :
For wx-
Win and Mac - pip install -U wxPython ,
Ubuntu - sudo apt-get install python-wxgtk2.8
Wikipedia module - To get search results of almost everything.
win - pip install wikipedia
wolframalpha - To create an app .You have to sign in to wolframapha , create an app , you get an Id , you use it here.
pip install wolframaplha
PyAudio - pip install pipwin
Then run this : pipwin install pyaudio
You get a pop up window like this : (the window on top)
This is your GUI of virtual assistant. Below is the windows that pops up displaying your search results .
If google fails to recognize your audio , then pop up window will show "Google was unable to recongize your input" - This is your given code.