1
喜IM學習編程,我要儘量利用林間空地我安裝了它, 但是,當我嘗試加載從林間空地的文件我也有問題:如何安裝Gtk.glade模塊或libglade的在python3通過Gtk3
" AttributeError: 'gi.repository.Gtk' object has no attribute 'glade' "
或這個時候我只用(Gtk.Builder):
" AttributeError: 'Builder' object has no attribute 'glade' "
我知道我應該在python3安裝的林間空地,但現在我不如何下載>> __ < <
謝後安裝ü懇求幫助我
#!/usr/bin/python3.3
from gi.repository import Gtk
import pygtk
gu= Gtk.Builder()
gui = gu.glade.XML("1111.glade")
"AttributeError: 'Builder' object has no attribute 'glade'
#!/usr/bin/python3.3
from gi.repository import Gtk
import pygtk
gui = Gtk.glade.XML("1111.glade")
" AttributeError: 'gi.repository.Gtk' object has no attribute 'glade' "
非常感謝U */pygtk文件我沒有pygtk模塊/ * –