tk_full_screen.py

# =========================================================
#
# =========================================================

import sys

if sys.version_info.major is 3:
    from tkinter import *
    py3 = True
else:
    from Tkinter import *
    py3 = False

root = Tk()
w = Label(root, text='Hello World!')
root.overidedirect = True
root.geometry('{}x{}+0+0'.format(root.winfo_screenwidth(),
    root.winfo_screenheight()))
root.focus_set()
root.bind('<Escape>', lambda e: root.quit())
w.pack()
root.mainloop()