Il mar, 2002-09-24 alle 14:51, Knut Erik Berg ha scritto: > Hello. > > I'm new to both mailing lists and debian. I have a question about > python-gtk2. I'm using debian sid, python 2.2.1 and > python-gtk2-1.99.13-2. The problem is that I cannot import the
if you're using the python2.2-gtk package you should do something like:
import pygtk
pygtk.require('2.0')
from gtk import *
...
--
Federico Di Gregorio
Debian GNU/Linux Developer & Italian Press Contact [EMAIL PROTECTED]
INIT.D Developer [EMAIL PROTECTED]
All'inizio ho scritto un programma proprietario, in esclusiva per il
cliente; � stato tristissimo, perch� mi ha succhiato un pezzo di
anima. -- Alessandro Rubini
signature.asc
Description: PGP signature

