$ apt-get install python-gi gir1.0-gtk-2.0and then write applications like this:
from gi.repository import Gtk
def destroy_cb(widget):
Gtk.main_quit()
w = Gtk.Window()
w.connect('destroy', destroy_cb)
l = Gtk.Label()
l.set_text("Hello World!")
w.add(l)
w.show_all()
Gtk.main()Have fun!
EDIT: Updated to note you need to install the GI package for the module you are using.