[pygtk] Python code works in terminal but not with shortcut on the gnome panal

John Ehresman jpe at wingware.com
Fri Mar 30 06:09:41 WST 2007


Edward A Robinson wrote:
> Any Ideas on how to debug code without the terminal, the problem is
> that it only happens without the terminal so I have no real idea how
> to debug it.

If you want to just look at tracebacks, you can redirect stderr to a 
file with
   sys.stderr = open_file_object

John


More information about the pygtk mailing list