[pygtk] Determining PyGTK version

Frédéric Gobry frederic.gobry at epfl.ch
Wed Apr 5 22:10:37 WST 2006


> Is there a way to determine which version of PyGTK I'm using by writing
> python codes?

import pygtk
pygtk.require('2.0')

import gtk
print gtk.gtk_version

Frédéric



More information about the pygtk mailing list