Let's Build A Calculator - Object Oriented Tkinter 4

Опубликовано: 14 Февраль 2026
на канале: Tkinter․com
17,042
123

In this video we'll start to build out a Calculator using Object Oriented Tkinter and Python.

I've created calculators in the past using functional calculator, but in this video we'll use OOP.

We'll take what we've learned in the last few videos with class based code.

#tkinter #codemy #JohnElder

Timecodes

0:00​​ - Introduction
1:00 - Create Entry Box
1:47 - Create Frame Class
3:05 - Define Our Calculator Buttons
5:32 - Grid Buttons To Screen
8:22 - Test it Out
8:51 - Align Button
11:08 - Expand Clear Button
12:07 - Fine Tune Buttons
13:13 - Clear The Entry Box
14:15 - Positive/Negative Function
18:00 - Conclusion