On 2005-07-08, Thomas Bartkus <[EMAIL PROTECTED]> 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
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to