How make calculator in python We make a calculator in python using kivy module . Kivy module helps us to make android apps . First wait , If you run a kivy program in your terminal then you see a error like this To solve this problem you have to go kivy docs and follow the instruction of kivy docs. First we have to make a virtual environment and then in the virtual environment you have to install kivy . After that you have to write kivy_venv\Scripts\activate in your terminal and then run the file . If this method not work then write the comment below. LETS START CODING First we import kivy .For this we hve to write from kivy.app import App from kivy.uix.label import Label from kivy.uix.button import Button from kivy.core.window import Window from kivy.uix.gridlayout import GridLayout from kivy.uix.widget import Widget from kivy.lang import ...
What is Desktop Voice Assistant Desktop voice assistant is a computer program which listen commands and complete task assigned by the user. It is a example of weak AI which only execute and perform task designed by the programmer. How to make desktop Voice Assistant We have to write a program in python for desktop voice assistant. Modules Required pyttsx3 - pyttsx3 is a text to speech conversion module in python. pyttsx3 helps us to convert text into speech . We have to import pyttsx3. we write import pyttsx3 to import pyttsx3. For changing the gender of voice we have to write engine= pyttsx3.init() voices=engine.getProperty( "voices" ) engine.setProperty( "voice" , voices[ 1 ].id) Note- If pyttsx3 is not install for some reason , first you have to check the pip list for this we have to write pip list. After that you should go to https://pypi.org/project/pyttsx3 and click the release version and select the version w...