def yes(self): """Called when the Yes button is clicked.""" if self.is_df: launcher.run_df() else: launcher.run_program(self.path) self.close()
def run_program(path): """ Launches another program. Args: path: Path to the program to launch. """ path = os.path.abspath(path) launcher.run_program(path)
def run_program(path): """ Launches another program. Params: path Path to the program to launch. """ path = os.path.abspath(path) launcher.run_program(path)
def run_selected_utilities(self): """Runs selected utilities.""" for item in self.proglist.selection(): #utility_path = self.proglist.item(item, 'text') launcher.run_program(paths.get('utilities', item))