def display_file_text(self, title, filename, encoding=None): fn = os.path.join(os.path.abspath(os.path.dirname(__file__)), filename) textView.view_file(self, title, fn, encoding)
def _help(self, event=None): fn = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'help.txt') textView.view_file(self.text, 'Help', fn)