-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmysoft.txt
40 lines (32 loc) · 1.46 KB
/
mysoft.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import pyttsx3
import os
pyttsx3.speak("hi there you can chat with me as per your requirements")
print()
while True:
pyttsx3.speak('what do you want me to do?')
print("chat with me as per your requirements: ",end='')
p=input()
if (("run" in p) or ("launch" in p) or ("execute"in p) or ("open" in p)) and ("notepad"in p):
pyttsx3.speak("opening notepad")
os.system("notepad")
elif(("run" in p)or("launch" in p)or("execute"in p)or("open" in p)) and ("wmplayer"in p):
pyttsx3.speak("opening wmplayer")
os.system("wmplayer")
elif(("run" in p)or("launch" in p)or("execute"in p)or("open" in p)) and ("chrome"in p):
pyttsx3.speak("opening chrome")
os.system("chrome")
elif(("run" in p)or("launch" in p)or("execute"in p)or("open" in p)) and ("BurpSuite"in p):
pyttsx3.speak("opening burpsuit")
os.system("BurpSuiteCommunity")
elif(("run" in p)or("launch" in p)or("execute"in p)or("open" in p)) and ("claculator"in p):
pyttsx3.speak("opening claculator")
os.system("calc")
elif(("run" in p)or("launch" in p)or("execute"in p)or("open" in p)) and ("prompt"in p):
pyttsx3.speak("opening command prompt")
os.system("cmd")
elif("exit"in p)or("quit"in p):
pyttsx3.speak("thank you i am sure developer will add more features later to me")
break
else:
print("invalid request")
print()