squeeze install python-gi
contro opinion
contropinion at gmail.com
Fri Aug 24 07:47:15 EDT 2012
我发现squeeze 不能安装python-gi,没有squeeze的版本
from gi.repository import Gtk
def destroy_cb(widget):
Gtk.main_quit()
w = Gtk.Window()
w.connect('destroy', destroy_cb)
l = Gtk.Label()
l.set_text("Hello World!")
w.add(l)
w.show_all()
Gtk.main()
这样简单的代码,无法在squeeze里面运行?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120824/8431701b/attachment.html>
More information about the Python-list
mailing list