Home > Net >  How do I make my Python program search up my questions on Google (based on a certain input)?
How do I make my Python program search up my questions on Google (based on a certain input)?

Time:03-19

I am trying to make a voice assistant like program, in which questions are asked, and questions that cannot be answered by the program are searched by Google.com. So I was simply wondering what softwares I would have to install to make this work? And what would I generally have to do to?

For more information, I am using Raspbian on my Raspberry Pi 3 B, and I am using Python 3.9.2

Thank you!

CodePudding user response:

All you need is a few libraries and nothing else to install. A great tutorial is found here: https://www.geeksforgeeks.org/performing-google-search-using-python-code/

The two libraries needed are:

pip install beautifulsoup4

and

pip install google
  • Related