!/usr/bin/env python
import Tkinter as tk
class Application(tk.Tk):
def init(self, master=None):
tk.Tk.init(self, master)
# super(self.class, self).init( master )
self.title('test')
self.grid()
self.createWidgets()
def createWidgets(self):
self.quitButton = tk.Button(self, text='Quit', command=self.quit)
self.quitButton.grid()
app = Application()
app.mainloop()