Skip to content

Commit e84aa40

Browse files
authored
Interesting Project with Python A.I. Package!
1 parent 668ec2d commit e84aa40

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

pyttsx3Robot.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
from pyttsx3 import *
2+
import os
3+
4+
speak('Hello from IRAN')
5+
6+
speak('Do you want to open notepad?')
7+
cmd = input()
8+
9+
if cmd == 'yes':
10+
os.system('notepad')
11+
12+
# github.com/Legendify/Python

0 commit comments

Comments
 (0)