PyGTK and GTK+/Glade imports


/ Published in: Python
Save to your folder(s)



Copy this code and paste it in your HTML
  1. try:
  2. import pygtk
  3. pygtk.require("2.0")
  4. except:
  5. pass
  6. try:
  7. import gtk
  8. import gtk.glade
  9. except:
  10. import sys
  11. sys.exit(1)

Report this snippet


Comments


You need to login to view comments.