After a few "hidden" features (i.e. I didn't see them) were pointed out 
(thanks Andy) Pythonwin is looking much better. Someone also mentioned 
using wxPython as a GUI interface. One problem I have is that I can't run 
wxPython code with the Pythonwin IDE. The following simple code

from wxPython.wx import *

class MyApp(wxApp):
     def OnInit(self):
         frame = wxFrame(NULL, -1, "Hello from wxPython")
         frame.Show(true)
         self.SetTopWindow(frame)
         return true

app = MyApp(0)
app.MainLoop()

causes Pythonwin to go away. The code runs fine from a DOS prompt (python 
test.py) and when double clicked from windows. I would guess that there is 
a conflict in the windowing between wxPython and Pythonwin -- any ideas on 
how to avoid this?



Bruce Peterson
Terastat, Inc
Information Access Systems
Voice (425) 466 7344
Fax (206) 350 3685

_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython

Reply via email to