Re: squeeze install python-gi

2012-08-24 Thread Ramchandra Apte
On Friday, 24 August 2012 17:17:15 UTC+5:30, contro opinion wrote: > 我发现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 W

squeeze install python-gi

2012-08-24 Thread contro opinion
我发现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里面运行? -- http://mail.python.org/mai