import gtk class Image(gtk.Image): def __init__(self,path): gtk.Image.__init__(self) self.set_from_file(path) self.show()