#!/usr/bin/python

import Tkinter
import tkMessageBox

top = Tkinter.Tk()

def  helloCallBack():
    tkMessageBox.showinfo("Hello Python", "Hello World")

B = Tkinter.Button(top, text="Hello", command = helloCallBack)

B.pack()
top.mainloop()
Update 2016-09-19 11h20