Wikipedia search using Python with Source Code

Introduction :
Wikipedia is a Python library that makes it easy to access and parse data from Wikipedia. Python have this library for to the easy access to the wikipedia and gather information from wikipedia after receiving information from various sources. this term is called as Data Scraping.
Wikipedia is a Open Source, multilingual free online encyclopedia written and maintained by a community of volunteer. Wikipedia is the largest and most-read reference work in history.
Python Provides Wikipedia module we can also called it an Api of wikipedia to gather data from the wikipedia pages over internet. for using the wikipedia module in the system we have to install it firstly. then we can import it on python file.
Installation of wikipedia module :
To install Wikipedia, simply run on your terminal :
$ pip install wikipedia
Source Code :
Get Discount on Top Educational Courses
# Importing Wikipedia module
# To install pip install wikipedia
import wikipedia as wiki
# Setting language here hindi is set
wiki.set_lang("hi")
# Printing the summary from wikipedia
print(wiki.summary("Python"))
Output:

Find More Projects
how to create a video background with html CSS JavaScript Introduction Hello friends, you all are welcome to today’s new blog post. …
Auto Text Effect Animation Using Html CSS & JavaScript Introduction Hello friends, welcome to today’s new blog post. Today we have created …
Windows 12 Notepad Using Python Introduction: In this article, we will create a Windows 12 Notepad using Python. If you are a …
Animated Search Bar using Html CSS And JavaScript Introduction Hello friends, all of you developers are welcome to today’s beautiful blog post. …
Best Quiz Game Using HTML CSS And JavaScript Introduction Hello coders, welcome to another new blog. Today in this article we’ll learn …
Tower Blocks Game Using HTML CSS And JavaScript Introduction Hello coders, welcome to another new blog. Today in this blog we’ll learn …