#!/usr/bin/python import pygtk pygtk.require('2.0') import gtk window = gtk.Window(gtk.WINDOW_TOPLEVEL) window.show(); Test = "Hello World PyGTK!"; button = gtk.Button(Test); window.add(button); button.show(); gtk.main();