Last active
February 13, 2020 04:13
-
-
Save lfalanga/9f1b53bf44a011a38954876d88023713 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from tkinter import * | |
root = Tk() | |
e = Entry(root) | |
e.pack() | |
e.focus_set() | |
######### | |
a = 5 | |
b = "2" | |
c = str(a) + b | |
######### | |
var = IntVar() | |
e.config(textvariable=var) | |
var.set(c) | |
mainloop() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment