Hi

If I do:

try:
        import pygtk
        pygtk.require("2.0")
except:
        pass

then sys.path[0] will point towards 
/usr/lib/python2.4/site-packages/gtk-2.0
in stead of the script. Is this expected behavior?

If so is there an alternative to sys.path[0] except from catching it
before doing pygtk.require. Do one need to do this at all by the way?

Thanks in advance

Preben
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to