Пример #1
0
 def run(self):
     microtime_end = (int(round(time.time() * 1000)) - self.microtime_start) / 1000
     print('!!! LAUNCH TAKES {0:.2f} SECONDS !!!'.format(microtime_end))
     switch_sound()
     super(HoneyApp, self).run()
Пример #2
0
 def on_press(self):
     switch_sound()