summaryrefslogtreecommitdiff
path: root/Demo/tkinter/guido/hello.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/tkinter/guido/hello.py')
-rwxr-xr-xDemo/tkinter/guido/hello.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/Demo/tkinter/guido/hello.py b/Demo/tkinter/guido/hello.py
index 237204fab8..358a7ecebd 100755
--- a/Demo/tkinter/guido/hello.py
+++ b/Demo/tkinter/guido/hello.py
@@ -4,14 +4,14 @@ import sys
from Tkinter import *
def main():
- root = Tk()
- button = Button(root)
- button['text'] = 'Hello, world'
- button['command'] = quit_callback # See below
- button.pack()
- root.mainloop()
+ root = Tk()
+ button = Button(root)
+ button['text'] = 'Hello, world'
+ button['command'] = quit_callback # See below
+ button.pack()
+ root.mainloop()
def quit_callback():
- sys.exit(0)
+ sys.exit(0)
main()