Skip to content

Instantly share code, notes, and snippets.

View TravisJoe's full-sized avatar

Travis Travelstead TravisJoe

View GitHub Profile
@TravisJoe
TravisJoe / new_gist_file
Created May 17, 2013 15:35
Hide or minimize python console when running scipt
Hide console
"pythonw yourprogram.py"
Minimize console
"MIN python yourprogram.py"
@TravisJoe
TravisJoe / tkinter_full_test.py
Created May 14, 2013 14:17
Tkinter in python full screen example
from Tkinter import *
root = Tk()
w = Label(root, text="Hello, world!")
root.overrideredirect(True)
root.geometry("{0}x{1}+0+0".format(root.winfo_screenwidth(), root.winfo_screenheight()))
root.focus_set() # <-- move focus to this widget
root.bind("<Escape>", lambda e: e.widget.quit())
w.pack()