self.button = wx.Button(self.panel, label='Save')
self.lblname = wx.StaticText(self.panel, label='Your name:')
Simple example of using wx.TextCtrl and display data after button click in wxpython - new to wx