Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from tkinter import *
- from getset import getset
- from UIinput import UIinput
- class restRFID:
- dat = ""
- def getDat():
- global dat
- ui = Tk()
- ui.geometry("300x300")
- frame1 = Frame(ui)
- ui.title("Get Data")
- frame1.pack()
- frame2 = Frame(ui)
- frame2.pack()
- get = getset()
- dat = str(get.get())
- label1 = Label(frame1, text = dat)
- label1.pack(side = LEFT)
- Button1 = Button(frame2, text = "Back",command = UIinput.inputDat)
- Button1.place(x = 150,y = 150)
- ui.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement