This Python script implements a voice assistant that can perform various tasks based on voice commands. It utilizes the pyttsx3
, speech_recognition
, wikipedia
, pyautogui
, pywhatkit
, pyjokes
, and python_weather
libraries.
- Greet the user based on the time of the day
- Recognize voice commands
- Search Wikipedia
- Open websites (Google, WhatsApp, VS Code, etc.)
- Perform actions on WhatsApp (Send message, Voice call, Video call)
- Search for location on Google Maps
- Search on YouTube
- Play songs on Spotify
- Get current time and date
- Send messages on WhatsApp
- Tell jokes
- Get weather forecast
To run this script, you need to install the required libraries. You can install them using pip:
pip install pyttsx3 speechrecognition wikipedia pyautogui pywhatkit pyjokes python_weather