Python Tutorial: GUI Calculator with Model View Controller #10

preview_player
Показать описание
In this part we move the calculator window to the center of the screen.

The complete series will show you how to code a fully functioning simple calculator from scratch using the tkinter graphical user interface library. Tkinter comes preinstalled when you download Python. You will also get an idea of what it is like to code in the style of model view controller.

Рекомендации по теме
Комментарии
Автор

Thank you so much for your tutorial. Its very good example to understand MVC pattern. Big thanks from Russia!

bober_proger
Автор

The part of the divisor with decimals it's come back in the next video part 11.

At the moment leave it comment:

else:
if self.value:
# if caption == '/' and isinstance(self.previous_value, int) and isinstance(self.value, int):
# self.operator = '//' if caption == '/'

self.operator = caption
self.previous_value = self.value

eduardotrujillo
Автор

Hello Victor, I went through your entire tutorial, and you really deserve more views. I intended to understand the MVC in python with a calculator-project. And your tutorial was just perfect for this!
Unfortunately this video is not really the conclusive video #10 because at the end of part #9 you implemented the integer-division, and if I'm right, at the wrong place ... I think that this video is part #11??
Thank's a lot for sure!

dieterschmidt
Автор

Hi, add this 2 new videos in the playlist where the other 9 s are.

maximepivi