Skip to main content

Posts

Showing posts with the label Voice assignment by python

How to make Voice assistant by python

How to make Voice assistant by python Introduction The Python programming language is one of the most popular languages out there. It's used by millions of programmers worldwide, including a lot of well-known brands like Google and Facebook. In this tutorial, we'll show you how to make your own voice assistant in Python! Step 1: Install python code To start off, we need to install the libraries that are required for this project. This is done by using pip: ```python pip install speech-recognition ``` Step 2: Install libraries Now that you have Python 2.7 installed, it’s time to install the libraries. The following libraries are required: [PyAudio](https://pypi.python.org/pypi/pyaudio/) - audio support library [Requests](https://docs.python-requests/v0.10/) - HTTP for Humans (the API used by Alexa) Step 3: Create a new file Now you're ready to start coding! Open your text editor and create a new file named vassistant.py. You will need to import the Speech module, which is in...