Skip to content

Commit 435fb0b

Browse files
committed
wikipedia_summary
1 parent aa9cbee commit 435fb0b

File tree

5 files changed

+29
-22
lines changed

5 files changed

+29
-22
lines changed
Loading
Loading
Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,32 @@
11
<h3>Wikipedia Summary</h3>
22
<hr>
3-
<h4>Package needed</h4>
3+
<h4>Built with</h4>
44
<hr>
5+
<b>1.Python Tkinter</b>
6+
<b>2.Library needed</b>
57
-- wikipedia - Wikipedia is a Python library that makes it easy to access and parse data from Wikipedia.<br>
68
-- tkinter - Python provides the standard library Tkinter for creating the graphical user interface for desktop based applications.<br>
79
-- tkinter – ScrolledText - There are various types of widgets available in Tkinter,ScrolledText widget is a text widget with a scroll bar.<br>
810
The tkinter.scrolledtext module provides the text widget along with a scroll bar.<br>
9-
<h4>Setup instructions</h4>
10-
<hr>
11-
-- To install Wikipedia, simply run: <b>pip install wikipedia</b><br>
1211
<br>
13-
-- tkinter : To install Tkinter, we need Python pre-installed.<br>
14-
Tkinter actually comes along when we install Python. While installing Python, we need to check the td/tk and IDLE checkbox.<br>
15-
This will install the tkinter and we need not install it separately.<br>
12+
<h4>Aim</h4>
13+
The aim of this python script is to get the summary of desired topic from wikipedia.
1614
<br>
17-
-- tkinter-ScrolledText : just write {from tkinter import scrolledtext}<br>
18-
<h4>Explanation of script</h4>
15+
<h4>Workflow of script</h4>
1916
<hr>
20-
Firstly, import all the package listed above. Then function name search will be there in which we get the data from wikipedia using module.Then we create main<br> window for tkinter.Buttons were added,When we run the script tkinter interface will appear we write the topic in space given.Click on search then wait for a while<br>
21-
then summary will appear.<b>Don't forget to connect to internet</b><br>
17+
Step 1: Firstly, imported all the package listed above.
18+
Step 2: Then function name {search} will be there in which we get the data from wikipedia module.
19+
Step 3: Then we create main window for tkinter,Buttons were added.
20+
Step 4: When we run the script tkinter interface will appear we write the topic in space given.Click on search then wait for a while<br>
21+
then summary will appear.
22+
<b>Don't forgot to connect your internet with the system.</b>
2223
<br>
2324
<h4>Output</h4>
2425
<hr>
25-
![output](https://user-images.githubusercontent.com/81240664/123242401-9ff03280-d4ff-11eb-9623-ccb431279cac.gif)
26-
<br>
26+
<b>output screenshot</b>
27+
GUIScripts/Wikipedia Summary/Images/output screenshot 1.png
28+
GUIScripts/Wikipedia Summary/Images/output screenshot 2.png
29+
<b>output gif</b>
30+
GUIScripts/Wikipedia Summary/Images/output.gif
2731
<h4>Author</h4>
2832
Pratima Kushwaha
Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
1-
<h3>Package needed</h3>
1+
<h3>Library Imported</h3>
22
<hr>
3-
1. wikipedia
4-
--pip install wikipedia
5-
<br>
6-
2.Install Tkinter
7-
Tkinter can be installed using pip. The following command is run in the command prompt to install Tkinter.<br>
3+
<b>1.wikipedia
4+
2.tkinter
5+
3.tkinter-ScrolledText
6+
<h4>Setup instructions</h4>
7+
<hr>
8+
-->To install:
9+
--1.wikipedia, simply run: <b>pip install wikipedia</b><br>
810
<br>
9-
--pip install tk<br>
10-
This command will start downloading and installing packages related to the Tkinter library. Once done, the message of successful installation will be displayed.<br>
11+
-- 2.tkinter : To install Tkinter, we need Python pre-installed.<br>
12+
Tkinter actually comes along when we install Python. While installing Python, we need to check the td/tk and IDLE checkbox.<br>
13+
This will install the tkinter and we need not install it separately.<br>
1114
<br>
12-
3.tkinter-ScrolledText : just write {from tkinter import scrolledtext}
15+
-- 3.tkinter-ScrolledText : just write {from tkinter import scrolledtext}<br>

0 commit comments

Comments
 (0)