r/programming • • Jul 18 '21

I made a virtual assistant using python

https://youtu.be/Sl3ZKIWZ1mY
15 Upvotes

7 comments sorted by

View all comments

6

u/iamjkdn Jul 18 '21

You want to share how you did it?

-1

u/Mr0BN0XI0US Jul 18 '21

First of all, I imported all necessary modules. Then, I set up engines for speech recognition and text to speech. Then I made a loop so that it keeps on listening unless 'quit' is said. Then, I used tons of if....elif....else to give some logic. It does lack so many things, which I can't fix (for now) as I am a total beginner. But I think I will be able to turn this to a completely fine project some day.

If you don't understand what I said, you are always welcome to see source code from the video description.

10

u/double-you Jul 18 '21

Twitches in suppressed sarcasm