示例#1
0
文件: timing.py 项目: sponce/fstimer
 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()
示例#2
0
文件: timing.py 项目: sponce/fstimer
 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()
示例#3
0
文件: timing.py 项目: tomp/xctimer
 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()
示例#4
0
文件: timing.py 项目: tomp/xctimer
 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()
示例#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()