问题
I am trying to import GDK to my program however I continue to get an error
No module named GDK
Do you know how I can fix this? Since it was working before I already tried import gtk.GDK
and import GDK
.
I have installed PyGTK and PyGDK is part of of it pyGTK.
回答1:
Try:
import gtk.gdk
(note: small letters)
来源:https://stackoverflow.com/questions/5923746/problems-importing-gdk