Christopher Barker wrote: > Louis Pecora wrote: >> I really do numerical calcs, but occasionally need a simple GUI >> dialog or open a window to plot in (very simple) > > Take a look at wxmpl. It helps you embed a matplotlib window in a > wxPython app. It's pretty handy, once you get the hang of wxPython. > Also, depending on what kind of data you are looking at, > wx.lib.floatcanvas might be useful (shameless plug, I wrote it) > >> I wish there were a way to keep the popup window with the traceback >> info open, but it quickly closes and the app quits. Redirecting >> found the error, but it is an extra step. > > This is a BBEdit thing, really, I find it easiest just to run from the > terminal command line, and see your tracebacks there. > > For really simple stuff, you can just: > > app = wx.App() > image=wx.Image('/Users/louispecora/Code/python/test_folder/wxPython_learn/rappin_cover150.jpg',wx.BITMAP_TYPE_JPEG) > > > frame = Frame(image) > frame.Show() > app.MainLoop() > > I'm pretty sure the default wx.App directs errors to the console. > >
wxmpl ? Yet another GUI. :-) Well, that's good. I'll check it out. I did get PythonCard and it looks pretty good, too. Nice to have a choice. Now EVERYONE STOP. NO MORE. :-) I got around the loss of Traceback. wxPython has a mechanism to set the redirection. Just putting it to False causes the usual Terminal output. So that now works. (Yes, it was in the book.) -- Cheers, Lou Pecora Code 6362 Naval Research Lab Washington, DC 20375 USA Ph: +202-767-6002 email: [EMAIL PROTECTED] _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig