Hi,
I'm trying to run a process from a python script. I need the exit
status of that process but do not care about its output, so until now
was using os.system(). But it turned out that the process often went
into an infinite loop, so I wrote a SIGALRM handler. Unfortunately the
code I came up
I am trying to build an app that requires pygtk so I installed the
latter. The app does the following:
import pygtk
...
import gtk
This crashes with
ImportError: No module named gtk.
I dont know where to get this gtk module from. I assumed pygtk would be
it coz the app doesnt mention any
my pygtk provides
/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py, which contains
the gtk module. You should ensure that you have that file, and if not,
find out where to get it.
I had the files stored in my local space and my PYTHONPATH was wrong.
It seems PYTHONPATH should contain