filmov
tv
Calculator with GUI Using Python Tkinter (Less Than 200 lines of Code)
Показать описание
Python project-based learning videos for absolute beginners!
We frequently use built-in programs like calculators without thinking about how they were designed or what's underneath the hood. It's essential for you to think about these things if you want to become a better software developer. The end goal of learning to program is to solve real-world problems and the best way to do so is by working on projects and putting your knowledge to use.
So, in this video, Soyuj demonstrates one such project that can help beginners get started with building projects in Python. By the end of this video, you will learn how to build your own calculator app in less than 200 lines of Python code. Not only that, you will learn to add advanced features like making the calculator usable from the keyboard and creating its executable file.
For this tutorial, we will use the built-in Tkinter module and take inspiration from the standard Windows Calculator App. Remember that the main takeaway from this video should not be just to build a calculator in Python but also to learn things that are often overlooked like how to structure your project and write clean readable Python code.
~
To follow along with this tutorial, you need to have a basic understanding of Python. For that, you can check our resources:
Learn Python App (iOS and Android):
~
Links Mentioned in the Video:
~
Timestamps:
0:00 Intro
0:16 Final Calculator Preview
1:45 Building the Calculator
6:04 Creating the Frames
8:40 Adding the Display Labels
13:05 Adding the Digit Buttons
17:25 Adding the Operator Buttons
24:35 Adding Functionality to the Buttons
32:41 Enhancements to the Calculator
33:36 Adding Square and Square Root Buttons
36:50 Changing the Operator Symbols
37:55 Truncating the Results
38:21 Handling Exceptions like ZeroDivisionError
39:13 Using Calculator from the Keyboard
41:45 Creating an .exe file of our Calculator
Find Programiz elsewhere:
#python #learnprogramming #programiz #pythonproject #projectbasedlearning
We frequently use built-in programs like calculators without thinking about how they were designed or what's underneath the hood. It's essential for you to think about these things if you want to become a better software developer. The end goal of learning to program is to solve real-world problems and the best way to do so is by working on projects and putting your knowledge to use.
So, in this video, Soyuj demonstrates one such project that can help beginners get started with building projects in Python. By the end of this video, you will learn how to build your own calculator app in less than 200 lines of Python code. Not only that, you will learn to add advanced features like making the calculator usable from the keyboard and creating its executable file.
For this tutorial, we will use the built-in Tkinter module and take inspiration from the standard Windows Calculator App. Remember that the main takeaway from this video should not be just to build a calculator in Python but also to learn things that are often overlooked like how to structure your project and write clean readable Python code.
~
To follow along with this tutorial, you need to have a basic understanding of Python. For that, you can check our resources:
Learn Python App (iOS and Android):
~
Links Mentioned in the Video:
~
Timestamps:
0:00 Intro
0:16 Final Calculator Preview
1:45 Building the Calculator
6:04 Creating the Frames
8:40 Adding the Display Labels
13:05 Adding the Digit Buttons
17:25 Adding the Operator Buttons
24:35 Adding Functionality to the Buttons
32:41 Enhancements to the Calculator
33:36 Adding Square and Square Root Buttons
36:50 Changing the Operator Symbols
37:55 Truncating the Results
38:21 Handling Exceptions like ZeroDivisionError
39:13 Using Calculator from the Keyboard
41:45 Creating an .exe file of our Calculator
Find Programiz elsewhere:
#python #learnprogramming #programiz #pythonproject #projectbasedlearning
Комментарии