PyGTK Drag and Drop error

I have currently started learning about Python and its GUI library GTK (PyGTK) However I have tried the example:

http://python.developpez.com/cours/pygtktutorial/php/pygtken/sec-DNDMethods.php#dragndropfig

Which is a simple drag and drop and I get the error

Traceback (most recent call last):
  File "test.py", line 10, in <module>
    import gtkxpm
ImportError: No module named gtkxpm

I tried googling the error but have had no luck.

Any suggestions?
LVL 16
xDamoxAsked:
Who is Participating?
 
clockwatcherConnect With a Mentor Commented:
Place the following file in the directory that test.py is in:

  http://python.developpez.com/cours/pygtktutorial/php/pygtken/examples/gtkxpm.py

From the instructions:

  A button with a xpm pixmap (in gtkxpm.py) is the source for the drag
0
 
xDamoxAuthor Commented:
Thanks that work perfect
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.