mirror of
https://github.com/Shawn-Shan/fawkes.git
synced 2024-09-20 07:26:37 +05:30
30fa1635a5
Former-commit-id: 101c0d4cfbfe62d873a289a1ba1ccb47bdbd66f5 [formerly 57e917cb08f4219a703fbdab6e782490077e8480] Former-commit-id: 6a0071b5ca45c7651f3aceb952a0eebddfcc6897
13 lines
230 B
Python
13 lines
230 B
Python
import sys
|
|
|
|
if sys.version_info < (3, 0):
|
|
# Python 2
|
|
import Tkinter as tk
|
|
else:
|
|
# Python 3
|
|
import tkinter as tk
|
|
root = tk.Tk()
|
|
root.title("Sandwich")
|
|
tk.Button(root, text="Make me a Sandwich").pack()
|
|
tk.mainloop()
|