def _confirm(self): if not self._check_file_open(0): return if not self._check_file_save(1): return if not self._check_file_save(2): return result = Jpt.split(self.entries[0].get(), self.entries[1].get(), self.entries[2].get()) tkMessageBox.showinfo(self.title, result)
def split(args): print Jpt.split(args[0], args[1], args[2])