This repository has been archived on 2025-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
PSMBot-Virtual-Assistant/index.md
Puranjay Savar Mattas 7a66fc5d2c GitHub Page index file
2020-12-22 12:01:38 +05:30

2.2 KiB

Create your own virtual assistant with just a few lines code (Using only PYTHON)

Hello & Welcome to this git page. Here I just created my own virtual assistant with just a few lines of code. It is not an issue if you are a beginner, or an advanced coder this way of building your own virtual assistant is very simple and quick.

The only major thing required from your side is the will to go step by step with me and by the end of it you will have your own virtual assistant up & running as a charm.

To learn more about how I did it you can watch my YouTube video on this or click here.

Pre-Requisites:

  1. Python Interpreter (Like PyCharm)
  2. Python Environment (Like Anaconda)
  3. Basic knowledge of how Python works & computers work
  4. A will to explore

When all the above pre-requisites are there and ready you can start to work on your own virtual assistant. Please follow each and every step in order & if you have any error just go to the issues to see if you find any issue that matches your which is already resolved before opening an issues.

Steps:

For Windows users:

  1. Open PyCharm & create a new project with your virtual environment ready.
  2. Open the terminal and paste the following in sequential order line by line(Execute it one by one):

pip install speechRecognistion

pip install pyttsx3

pip install pywhatkit

pip install wikipedia

pip install pyjokes

Install this if necessary (Only when the code gives error)

pip install pyaudio

  1. Copy the code given in main.py (in this git) & you will have the code up & running on your pc.
  2. If you want to learn how this code actually works the go watch my YouTube video for a better understanding.

For Linux/MacOs users:

  1. Learn all the above commands on terminal.
  2. Make sure to use pip3, because in linux pip refers for python2 and pip3 refers to python3.
  3. Install these too - pip3 install pyAudio.

Feature List:

  1. Play videos on YouTube.
  2. Search wikipedia with your queries.
  3. Search google with your queries.
  4. Listen to jokes.
  5. Ask for the weather (only New Delhi, India available right now).