from tkinter import * root = Tk() entry = Entry(root) print(entry.get()) # Would print entry data in CL