from Tkinter import *
class rntsoftButton(Frame):
def __init__(self):
Frame.__init__(self)
self.pack()
stopper = Button(self, text='Text', command=self.quit)
stopper.pack()
stopper.config(bg='navy', fg='white', bd=8)
if __name__ == '__main__':
rntsoftButton().mainloop()