This is a simple python script that allows you to shutdown your PC with voice commands. You can improve this code to whatever you want, like restarting the PC, opening a software, or even something very complex like doing your task atomatically.
- Python 3.6 or higher
- SpeechRecognition
- Pyttsx3
- Install Python 3.6 or higher
- Install SpeechRecognition
- Install Pyttsx3
- Run the script
- The bot will say "Do you want to switch off the computer sir?"
- Say "yes" or "no"