Skip to content

Instantly share code, notes, and snippets.

View jediminer543's full-sized avatar

jediminer543

View GitHub Profile
@shutebt01
shutebt01 / gist:667e61d2f101f2f04542
Last active August 29, 2015 14:07
TKinter Example
# Imports tkinter and constants
import tkinter
from tkinter.constants import *
# addition function
def add():
a = float(num1In.get("1.0",END))
b = float(num2In.get("1.0",END))
ansOut['text'] = str(a + b)