import wxapp = wx.PySimpleApp()progressMax = 100dialog = wx.ProgressDialog("A progress box", "Time remaining", progressMax, style=wx.PD_CAN_ABORT | wx.PD_ELAPSED_TIME | wx.PD_REMAINING_TIME)keepGoing = Truecount = 0while keepGoing and count < progressMax: count = count + 1 wx.Sleep(1) keepGoing = dialog.Update(count)dialog.Destroy()
Name (required)
email (will not be published) (required)
Website