We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f508d3f commit 565dea4Copy full SHA for 565dea4
main.py
@@ -74,7 +74,8 @@ def start(query):
74
result=wikipedia.summary(query,sentences=2)
75
print(result)
76
speak(result)
77
-
+
78
+ #To display weather reports
79
elif 'weather report' in query.lower() or 'weather' in query.lower():
80
api_address='http://api.openweathermap.org/data/2.5/weather?q=Kolkata&appid= your app id ' #you can get it from openweathermap.org
81
json_data=requests.get(api_address).json()
@@ -155,6 +156,7 @@ def start(query):
155
156
code_location="F:\\visualstudiocodes\\Code.exe"
157
os.startfile(code_location)
158
159
+ #to send mail
160
elif 'mail to' in query.lower() or 'mail' in query.lower():
161
try:
162
speak("Whom should i send the message ?")
0 commit comments