Performing Google Search using Python code

Install following two packages before executing the code below pip install beautifulsoup4 pip install google try: from googlesearch import search except ImportError: print("No module named 'google' found") # to search query = "python for engineers Blog" for j in search(query, tld="co.in", num=10, stop=1, pause=2): print(j)

2 comments:

MS Azure Training in Hyderabad said...

Great Site, The Course were so simple and easy to understand.
Python Flask Training
Flask Framework
Python Flask Online Training

Unknown said...
This comment has been removed by a blog administrator.