Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Python TkInter from Beginner to Winner
Rating: 4.5 out of 5(6 ratings)
46 students

Python TkInter from Beginner to Winner

Master Desktop Apps with Python and TkInter
Created byHugo Ferro
Last updated 6/2023
English

What you'll learn

  • Take the most out of TkInter to make your dream desktop apps come into life!
  • Plan, project and make GUI Apps with Python and TkInter from ZERO!
  • Use a variety of graphical elements from TkInter, known as widgets: Label, Entry, Text, Spinbox, Button, LabelFrame, and more!
  • Evolve your abstract thinking in such a way you can make any complex TkInter App by stripping it into smaller challenges!
  • Tips and tricks to take advantage of the tools you have at your disposal, such as Visual Studio Code and its extensions.
  • Best practices for coding as taught by a Software Engineer with years of experience in several programming languages!

Course content

6 sections91 lectures14h 30m total length
  • Introduction [Part 0 of 10]3:44

    Here we will see:

    • The final result;

    • What do we need to get started.

  • Main Structure [Part 1 of 10]31:49

    Here we will learn how to:

    • Create a window with TKinter;

    • Set the window title;

    • Set the minimum and maximum size of a window;

    • Create Frames and separate the structure in three areas - top, middle and bottom;

    • Set frame width, height and background color;

    • Place, the exact position of a frame in a window;

    • Make a frame grow or shrink, accordingly with the window current size;

    • Structure the code.

  • Build Display [Part 2 of 10]10:54

    Here we will learn how to:

    • Create a Label;

    • Set the Label text;

    • Insert and position the Label inside of a Frame;

    • Make Label grow or shrink accordingly with the current size of the Frame;

    • Position the text inside of Label - right, center or left;

    • Set font and font size of text in a Label;

    • Make the Label text bold.

  • Build Clear and Equals Buttons [Part 3 of 10]9:06

    Here we will learn how to:

    • Create a Button;

    • Set the Button text;

    • Set font and font size of Button text;

    • Add an action to a Button;

    • Insert and position the Button inside of a Frame;

    • Make the Button grow and shrink accordingly with current Frame size.

  • Build Numbers and Operators Buttons [Part 4 of 10]27:23

    Here we will learn how to:

    • Optimize Button creation with for loop;

    • Pass parameters to a Buttons action - with a lambda function;

    • Pass parameters to a Buttons action - without a lambda function.

    • Also we will understand how:

    • lambda function works;

    • Buttons parameter command works.

  • Define Numbers and Operators Actions [Part 5 of 10]12:56

    Here we will learn how to:

    • Distinguish if a char is a digit or not;

    • Change the text of a Label;

    • Detect if a string starts with a specific char;

    • Apply logic to solve a problem.

  • How to Evaluate an Expression?! [Part 6 of 10]3:55

    Here we will learn about Operators Precedence rules.

  • Define classes Node and ExpressionTree [Part 7 of 10]6:25

    Here we will learn how to define the base structure to create a binary tree, the classes: Node and ExpressionTree.

  • Build Binary Tree [Part 8 of 10]40:24

    Here we will learn how to add elements to the binary tree. Also, we will see how it will be connected with our calculator!

  • Evaluate Expression [Part 9 of 10]13:26

    This is where everything will makes sense! We will learn how to take advantage of binary tree to calculate an expression and why it works!

  • Division by Zero [Part 10 of 10]6:26

    Here we will solve one small problem, division by zero! We will learn how to apply extra logic to improve our calculator.

  • Make an Exe File [Bonus 1]6:26

    Here we will install and use Auto Py to Exe to generate a stand alone executable file for our application.

    https://pypi.org/project/auto-py-to-exe/

Requirements

  • You should have a basic understanding of Python or other programming language. An understanding of variables, conditional statements (if else), loop statements (while, for), a little bit of Object Oriented Programming (classes and inheritance) is a plus! However, I will reinforce some concepts several times!
  • You need a computer with Windows 10 or later.
  • You need Python 3.8.x or later.
  • It is recommended, not mandatory, Visual Studio Code to edit the code!
  • It is NOT recommended developing on a mobile device, you want to be a professional and/or develop your path to success right?

Description

Welcome to Python TkInter from Beginner to Winner! A great course on building Desktop Apps!

Together we will learn, explore and have fun taking the most out of Python and TkInter! We will create great and useful apps.

I invite you not only to master TkInter but also learn how to think, how to design and structure your code, how to take advantage of several tools to do it faster, better and clean, like a professional!


First we will focus on creating apps like a calculator or a products stock manager... we will have opportunity to play with many widgets like Frames, Labels, Buttons, Spinboxes, LabelFrames, etc. Also we will use three Layout Managers to position our widgets: grid, pack and place.

Than as bonus we will integrate some of those apps with numerous technologies... We will use databases, we will interact with Web APIs, we will generate documents like PDFs and Docx!

Our imagination is the limit!


My name is Hugo Ferro, I started my programming journey back in 1996 when I got my first computer at age 12... That box changed my life! I became a Software Engineer with experience in a wide range of technologies...

Your journey starts now! I'm your teacher, I'm your partner in this great adventure that is learning!


The first 10 lectures of this course (1h41m), in section "My Products Stock Manager", are FREE for you to evaluate! What you're waiting for?

Thank you for your time, see you in the course :)

Who this course is for:

  • Beginner to intermediate developer interested in creating his/her own Desktop Apps!
  • Everyone who wants to create tools to excel his/her work.
  • Anyone who aims to deepen their knowledge of programming, develop their thinking, learn how to structure their code will be welcome!