'How do I make my Python program search up my questions on Google (based on a certain input)? [closed]

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!



Solution 1:[1]

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

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Blue Robin