In this video I'll show you how to build a fun little Wikipedia Search Tool For Tkinter and Python.
We can enter in a topic and search for the wikipedia page, and return the content, as well as the title and URL. Or we can search for a general summary of a topic, and designate how many sentences we want to return.
This is not a heavy duty API, so you'll hit rate limits if you make too many searches...but for general use or hobby use, you shouldn't have any trouble at all.
Timecodes
0:00 - Introduction
1:08 - Pip Install Wikipedia
1:46 - Import Wikipedia Into Tkinter App
1:55 - Build Label Frame And Entry Box
2:58 - Create Frame And Textbox With Scrollbar Features
4:35 - Create Vertical And Horizontal Scrollbar For Textbox
5:55 - Configure Scrollbars
7:11 - Create Lookup And Clear Buttons
9:09 - Create Function To Clear The Screen
10:11 - Create Wikipedia Search Function
13:03 - Checkout Wikipedia API Documentation
13:15 - Search Wikipedia For Summary
13:41 - Set Sentence Length For Summary
14:34 - Search Wikipedia For Page Title
15:30 - API Rate Limit Discussion
17:25 - Conclusion
Sur cette page du site, vous pouvez voir la vidéo en ligne Build A Wikipedia Search App - Python Tkinter GUI Tutorial durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur John Elder 02 mars 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 8,629 fois et il a aimé 241 téléspectateurs. Bon visionnage!