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
На этой странице сайта вы можете посмотреть видео онлайн Build A Wikipedia Search App - Python Tkinter GUI Tutorial длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь John Elder 02 Март 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 8,629 раз и оно понравилось 241 зрителям. Приятного просмотра!