Python offers multiple options for developing a GUI (Graphical User Interface). Out of all the GUI methods, Tkinter is the most commonly used method. Python with Tkinter outputs the fastest and easiest way to create GUI applications.
Wikipedia is a Python library that makes it easy to access and parse data from “wikipedia.org”. Here, we are using summary function of this module to get the summary of the argument(as a string) given to the program.
To install the Wikipedia library, just type this in terminal :
pip install wikipedia
- Import module
- Create a normal window
- Add buttons
- Create mechanism to scrap summary from wikipedia
- Display summary
- Execute code
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course.