Google search using Python

0 votes
Can I perform a google search using python? Is there any specific module or a workaround for this?
Oct 3 in Python by Hannah
• 14,960 points

1 answer to this question.

0 votes

Python provides a module called "google" with which you can access google. You can use something like this:

from googlesearch import search 
except ImportError: 
print("No module named 'google' found") 
# to search 
query = "Edureka"
for j in search(query, tld=".com", num=5, stop=1, pause=2.0): 
answered Oct 3 by Tagya

Related Questions In Python

0 votes
1 answer

Search help using Python Console

The pydoc -k flag searches the documentation. pydoc ...READ MORE

answered Nov 8, 2018 in Python by SDeb
• 13,160 points
0 votes
1 answer
+2 votes
2 answers

How to make a laplacian pyramid using OpenCV python?

down voteacceptTheeThe problem is that you're iterating ...READ MORE

answered Apr 3, 2018 in Python by charlie_brown
• 7,720 points
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 6 in Python by Neha
• 330 points

edited Jul 8 by Kalgi 272 views
+4 votes
6 answers
+4 votes
6 answers

Substring search in Python

Use the "in" operator in python" if "substring" ...READ MORE

answered Apr 13, 2018 in Python by Nietzsche's daemon
• 4,260 points