I'm on a Debian Sid system and I'm having problems with the applet tutorial:
In [2]: import pygtk
In [3]: pygtk.require('2.0')
In [4]: import gtk
In [5]: import gnome
In [7]: import gnomeapplet
---------------------------------------------------------------------------
exceptions.ImportError Traceback (most
recent call last)
/usr/lib/python-support/<ipython console>
ImportError: No module named gnomeapplet
In [8]: import gnome.applet
---------------------------------------------------------------------------
exceptions.ImportError Traceback (most
recent call last)
/usr/lib/python-support/<ipython console>
ImportError: No module named applet
(The reason for [7] is that the Newton applet tries to import it that
way.)
Am I just missing some package or have things changed radically since
the tutorial was written?
/M
[Tutorial]: http://www.pygtk.org/articles/applets_arturogf/
[Newton]: http://newton.sourceforge.net/
--
Magnus Therning (OpenPGP: 0xAB4DFBA4)
[EMAIL PROTECTED] Jabber: [EMAIL PROTECTED]
http://therning.org/magnus
Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.
Finagle's Sixth Law:
Don't believe in miracles -- rely on them.
pgpQyzFTMnZrZ.pgp
Description: PGP signature
_______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
