Python Calculator with GUI using Tkinter in Visual Studio Code

preview_player
Показать описание
Creating Python Calculator GUI using Tkinter Visual Studio Code

We frequently use calculators we were thinking about how they were designed or what's underneath the hood. It's essential for us to think about these things if you want to become a better software developer. The best way to do so is by working on projects and putting your knowledge to use.

Timestamps:
0:00 Intro
0:22 Building Simple Window with Tkinter Python
1:42 Creating variable for Calculator GUI
5:47 Creating the buttons for Calculator GUI using Tkinter Python
14:53 Creating functions for the button and linking then using Tkinter
23:02 Outro

#tkinter #VSCode #calculator #gui #python
Рекомендации по теме
Комментарии
Автор

brilliant presentation video. just what I've been looking for about python programming. thank you

malaya
Автор

Thanks for this amazing video. Greetings from Colombia

DanyBEAN
Автор

Thanks for making python videos, keep up 👏🏻🙏🏻

EmSec
Автор

I have added a small error handler so that the "=" key does not cause a crash when the display field is empty
def buttonClick(number):
global operator
# operator = operator + str(number)
operator += str(number)
input_value.set(operator)

def button_Clear():
global operator
operator = ""
input_value.set("")

def buttonEqual():
global operator
try:
result = str(eval(operator))
input_value.set(result)
except (SyntaxError, ZeroDivisionError):
input_value.set("Error")
finally:
operator = ""

main = Tk()

Gemini has helped me 🙂

WernerF
Автор

Thanks allot god bless this really helped me, please can u make a video on the list of things that can be done with tkinter...thanks

Goldenkachi
Автор

Sorry to bother you but ive been trying to use github I made a new repository linked it to vsc but it wont let me code it in python do you no how I can fix this?

yahiaamra
Автор

Mam could you help us (paid basis) to form a small GUI for a python script for a company program

Ashutshu
Автор

the multiply and divide function is not working for me? btw thanks for the great tutorial, really appreciate it

anathapindikaputrateguh