In this video I'll show you how to extract text from a PDF file with Tkinter.
We'll build an app that opens a PDF file, grabs a specific page, and converts that page to text.
Then we'll output that text to a Tkinter Text Widget.
#tkinter #codemy #JohnElder
Timecodes
0:00 - Introduction
1:43 - pip install PyPDF2
2:11 - Import FileDialog and Messagebox
2:30 - Create Text Box
2:54 - Create Label Frame
3:23 - Create Label
4:02 - Create Entry Box
4:30 - Create Button
5:08 - Create Page Number Label
5:51 - Create Open_PDF Function
6:00 - Get PDF FileName
7:25 - Read PDF File
7:51 - Determine Number Of Pages In PDF
8:15 - Update Pages Label
9:07 - Select Specific PDF Page
9:51 - Extract Content Of PDF Page
10:10 - Clear The Text Box
10:33 - Output Content To Text Box
10:47 - Error Messages
11:50 - Test It Out!
12:36 - Conclusion
Download
0 formats
No download links available.
How To Extract Text From PDF Files - Tkinter Projects 6 | NatokHD