Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #27792 > unrolled thread
| Started by | contro opinion <contropinion@gmail.com> |
|---|---|
| First post | 2012-08-24 07:47 -0400 |
| Last post | 2012-08-24 07:27 -0700 |
| Articles | 3 — 2 participants |
Back to article view | Back to comp.lang.python
squeeze install python-gi contro opinion <contropinion@gmail.com> - 2012-08-24 07:47 -0400
Re: squeeze install python-gi Ramchandra Apte <maniandram01@gmail.com> - 2012-08-24 07:27 -0700
Re: squeeze install python-gi Ramchandra Apte <maniandram01@gmail.com> - 2012-08-24 07:27 -0700
| From | contro opinion <contropinion@gmail.com> |
|---|---|
| Date | 2012-08-24 07:47 -0400 |
| Subject | squeeze install python-gi |
| Message-ID | <mailman.3750.1345808837.4697.python-list@python.org> |
[Multipart message — attachments visible in raw view] — view raw
我发现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里面运行?
[toc] | [next] | [standalone]
| From | Ramchandra Apte <maniandram01@gmail.com> |
|---|---|
| Date | 2012-08-24 07:27 -0700 |
| Message-ID | <mailman.3755.1345818477.4697.python-list@python.org> |
| In reply to | #27792 |
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 World!")
> w.add(l)
>
> w.show_all()
> Gtk.main()
>
> 这样简单的代码,无法在squeeze里面运行?
English translation by Google translate (machine translated):
I found that the squeeze can not install python-gi, squeeze version
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()
This simple code, unable to squeeze inside run?
[toc] | [prev] | [next] | [standalone]
| From | Ramchandra Apte <maniandram01@gmail.com> |
|---|---|
| Date | 2012-08-24 07:27 -0700 |
| Message-ID | <cab7cac8-70ed-48bc-ad98-93de8774918d@googlegroups.com> |
| In reply to | #27792 |
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 World!")
> w.add(l)
>
> w.show_all()
> Gtk.main()
>
> 这样简单的代码,无法在squeeze里面运行?
English translation by Google translate (machine translated):
I found that the squeeze can not install python-gi, squeeze version
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()
This simple code, unable to squeeze inside run?
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web