Skip to content

Instantly share code, notes, and snippets.

@hidsh
Created November 8, 2012 01:20
Show Gist options
  • Save hidsh/4035800 to your computer and use it in GitHub Desktop.
Save hidsh/4035800 to your computer and use it in GitHub Desktop.
python: sample: hello using python/Tkinter
#!/usr/bin/python
#
# http://www.geocities.jp/m_hiroi/light/pytk01.html
from Tkinter import *
root = Tk()
button = Button(root, text = 'Hello PyTk')
button.pack()
root.mainloop()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment