Free YouTube views likes and subscribers? Easily!
Get Free YouTube Subscribers, Views and Likes

Create GUI App with Tkinter - Part 2

Follow
Python Simplified

In this step by step tutorial we will upgrade our existing PDF Extract Application from Part 1, and extract images from a given PDF file rather than just its' text.
If you haven't had a chance to view Part 1 yet, I highly recommend to click on the link below and get up to speed:
   • Create a GUI app with Tkinter  Step ...  

For this project, you'll need to download a new set of starter files:
https://github.com/MariyaSha/PDFExtract'>https://github.com/MariyaSha/PDFExtract

You don't have to use my test files, but make sure you're selecting test files that include BOTH an image and a text character. If only one of these exists then your app might not behave as expected.

Tkinter Documentation:
https://docs.python.org/3/library/tki...

Code for Extracting Images from PDF Files Solved by Sylvain on Stack Overflow:
https://stackoverflow.com/questions/2...

************************************************
⭐⭐⭐ Time Stamps ⭐⭐⭐
************************************************
1. INTRO:

00:00 Introduction
00:54 Starter Files Walkthrough
04:01 Designing Wireframes
************************************************
2. CREATING AND PLACING WIDGETS

05:30 Create Frame Widget and Place it on the Grid
07:59 Create Button Widget
09:18 Place Button Widgets on the Grid (inline)
10:39 Discussing the Image Menu on Row 2
11:04 Create a Frame and Text Widgets
12:32 Create Icon Button Widget
15:09 Align Buttons with the Sticky Property
16:04 Extract and Display Image
19:07 Resize Displayed Image
22:44 Organize Code
************************************************
3. ADDING CALLBACKS AND FUNCTIONALITY

24:10 Copy Text Button Functionality
26:54 Save All Images Button Functionality
30:24 Convert Images to RGB Mode
31:15 Save Displayed Image Button Functionality
33:35 Dynamically Change the Displayed Image
************************************************
4. LAST TOUCHUPS

40:01 Clear Global Variables for Each New PDF File
41:38 Hide the Currently Displayed Image for Each New PDF File
41:58 Clear Global List of Images for Each New PDF File
42:38 Left Arrow Button Functionality
44:05 Dynamically Change the Text of a Widget with StringVar()
47:18 Thanks for Watching!
************************************************

On another note, this was one of the most difficult projects to build as Tkinter was misbehaving each step of the way!!!
If you guys are running into any issues with understanding the code or some of the processes please let me know!! We can do a live session where I answer questions regarding this project, and of course keep an eye on my Gihub for new commits or resolved issues:
https://github.com/MariyaSha

Connect on Linkedin:
www.linkedin.com/in/mariyasha888

Follow on Instagram:
  / mariyasha888  

#python #pythonprogramming #pythontutorial #pythonlesson #learnpython #tkinter #gui #tkintertutorial #guitutorial #pypdf2 #extractimages #pdf #programming #coding #stepbystep #tutorial #codealong

posted by sportivosc4b