7stud wrote: > On Apr 19, 1:38 pm, Tyler <[EMAIL PROTECTED]> wrote:
[after quoting umpteen lines of code] > > You can do this: > > --- > class MyFrame(wx.Frame): > > .. > .. > .. > def OnSubmit(self, event): > globals()["userInput"] = self.txtCtrlName.GetValue() > self.Close() > > app = MyApp() > app.MainLoop() > > print userInput > ----- > Please try to limit your quoting to what's relevant. regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Holden Web LLC/Ltd http://www.holdenweb.com Skype: holdenweb http://del.icio.us/steve.holden Recent Ramblings http://holdenweb.blogspot.com -- http://mail.python.org/mailman/listinfo/python-list