pygtk does ... ?
Dave Cook
davecook at nowhere.net
Sat Jul 9 08:20:36 EDT 2005
On 2005-07-08, Thomas Bartkus <thomasbartkus at comcast.net> wrote:
> Why would I want to "import pygtk" with it's single function
> "require(version)"?
> What is it supposed to do? Where does it fit in?
The only reason I can think of is to use pygtk.require, so you can specify
which major version of pygtk you want to use, assuming you have multiple
versions:
import pygtk
pygtk.require('2.0')
import gtk
Otherwise, you don't need to import pygtk, just gtk.
Dave Cook
More information about the Python-list
mailing list