Skip to content

Commit e662793

Browse files
committed
first commit
0 parents  commit e662793

File tree

2 files changed

+88
-0
lines changed

2 files changed

+88
-0
lines changed

mysoft.py

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
import pyttsx3
2+
import os
3+
4+
pyttsx3.speak("hi there you can chat with me as per your requirements")
5+
print()
6+
7+
while True:
8+
pyttsx3.speak('what do you want me to do?')
9+
print("chat with me as per your requirements: ",end='')
10+
p=input()
11+
if (("run" in p) or ("launch" in p) or ("execute"in p) or ("open" in p)) and ("notepad"in p):
12+
pyttsx3.speak("opening notepad")
13+
os.system("notepad")
14+
15+
elif(("run" in p)or("launch" in p)or("execute"in p)or("open" in p)) and ("wmplayer"in p):
16+
pyttsx3.speak("opening wmplayer")
17+
os.system("wmplayer")
18+
19+
elif(("run" in p)or("launch" in p)or("execute"in p)or("open" in p)) and ("chrome"in p):
20+
pyttsx3.speak("opening chrome")
21+
os.system("chrome")
22+
23+
elif(("run" in p)or("launch" in p)or("execute"in p)or("open" in p)) and ("BurpSuite"in p):
24+
pyttsx3.speak("opening burpsuit")
25+
os.system("BurpSuiteCommunity")
26+
27+
elif(("run" in p)or("launch" in p)or("execute"in p)or("open" in p)) and ("calculator" in p):
28+
pyttsx3.speak("opening calculator")
29+
os.system("calc")
30+
31+
elif(("run" in p)or("launch" in p)or("execute"in p)or("open" in p)) and ("prompt"in p):
32+
pyttsx3.speak("opening command prompt")
33+
os.system("cmd")
34+
35+
elif(("run" in p)or("launch" in p)or("execute"in p)or("open" in p)) and ("BurpSuite"in p):
36+
pyttsx3.speak("opening burpsuit")
37+
os.system("BurpSuiteCommunity")
38+
39+
elif("exit"in p)or("quit"in p):
40+
pyttsx3.speak("thank you i am sure developer will add more features later to me")
41+
break
42+
else:
43+
print("invalid request")
44+
print()

mysoft.txt

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
import pyttsx3
2+
import os
3+
4+
pyttsx3.speak("hi there you can chat with me as per your requirements")
5+
print()
6+
7+
while True:
8+
pyttsx3.speak('what do you want me to do?')
9+
print("chat with me as per your requirements: ",end='')
10+
p=input()
11+
if (("run" in p) or ("launch" in p) or ("execute"in p) or ("open" in p)) and ("notepad"in p):
12+
pyttsx3.speak("opening notepad")
13+
os.system("notepad")
14+
15+
elif(("run" in p)or("launch" in p)or("execute"in p)or("open" in p)) and ("wmplayer"in p):
16+
pyttsx3.speak("opening wmplayer")
17+
os.system("wmplayer")
18+
19+
elif(("run" in p)or("launch" in p)or("execute"in p)or("open" in p)) and ("chrome"in p):
20+
pyttsx3.speak("opening chrome")
21+
os.system("chrome")
22+
23+
elif(("run" in p)or("launch" in p)or("execute"in p)or("open" in p)) and ("BurpSuite"in p):
24+
pyttsx3.speak("opening burpsuit")
25+
os.system("BurpSuiteCommunity")
26+
27+
elif(("run" in p)or("launch" in p)or("execute"in p)or("open" in p)) and ("claculator"in p):
28+
pyttsx3.speak("opening claculator")
29+
os.system("calc")
30+
31+
elif(("run" in p)or("launch" in p)or("execute"in p)or("open" in p)) and ("prompt"in p):
32+
pyttsx3.speak("opening command prompt")
33+
os.system("cmd")
34+
35+
elif(("run" in p)or("launch" in p)or("execute"in p)or("open" in p)) and ("BurpSuite"in p):
36+
pyttsx3.speak("opening burpsuit")
37+
os.system("BurpSuiteCommunity")
38+
39+
elif("exit"in p)or("quit"in p):
40+
pyttsx3.speak("thank you i am sure developer will add more features later to me")
41+
break
42+
else:
43+
print("invalid request")
44+
print()

0 commit comments

Comments
 (0)