Exemple #1
0
 def print_html(self, btn_unused, pytimer):
     res = print_times(pytimer, False)
     # Display message that was successful
     md = MsgDialog(pytimer.timewin, 'information', ['ok'], 'Success!',
                    "Results saved to HTML.")
     md.run()
     md.destroy()
Exemple #2
0
 def print_csv(self, pytimer):
     res = print_times(pytimer, True)  # True is to print csv
     # Display message that was successful
     md = MsgDialog(pytimer.timewin, 'information', ['ok'], 'Success!',
                    "Results saved to CSV.")
     md.run()
     md.destroy()
Exemple #3
0
 def print_csv(self, pytimer):
     res = print_times(pytimer, True)  # True is to print csv
     # Display message that was successful
     md = MsgDialog(pytimer.timewin, 'information', ['ok'], 'Success!',
                    "Results saved to CSV.")
     md.run()
     md.destroy()
Exemple #4
0
 def print_html(self, btn_unused, pytimer):
     res = print_times(pytimer, False)
     # Display message that was successful
     md = MsgDialog(pytimer.timewin, 'information', ['ok'], 'Success!',
                    "Results saved to HTML.")
     md.run()
     md.destroy()
Exemple #5
0
 def print_excel(self, pytimer):
     #res = print_times(pytimer, True)
     res = print_times(
         pytimer, OutputFormat.EXCEL)  # True is to print csv OutputFormat
     # Display message that was successful
     md = MsgDialog(pytimer.timewin, 'information', ['ok'], 'Success!',
                    "Results saved to EXCEL.")
     md.run()
     md.destroy()