On Sat, 2014-08-23 at 20:32 +0300, Антон Козловский wrote:
> I've installed python3-gobject. When I'm trying to import gtk3 or gtk
> module it fails.

You have to use:

    from gi.repository import Gtk

There is a nice tutorial available at
http://python-gtk-3-tutorial.readthedocs.org/en/latest/introduction.html

-- 
Germán Poo-Caamaño
http://calcifer.org/

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
gnome-love mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gnome-love

Reply via email to