[Goes to google and searches the website asked by the user]
()
| 11 | |
| 12 | |
| 13 | def google_search(): |
| 14 | """[Goes to google and searches the website asked by the user]""" |
| 15 | google_search_link = "https://www.google.co.in/search?q=" |
| 16 | google_search = "What do you want me to search on Google? " |
| 17 | print(google_search) |
| 18 | speak(google_search) |
| 19 | |
| 20 | query = hear() |
| 21 | |
| 22 | if query != "None": |
| 23 | webbrowser.open(google_search_link + query) |
| 24 | elif query == "None": |
| 25 | print("I could'nt understand what you just said!") |
| 26 | speak("I could'nt understand what you just said!") |
| 27 | |
| 28 | |
| 29 | def wiki_search(): |