Open askmarkio opened 5 months ago
menu_recent = Menu(menu_file) menu_file.add_cascade(menu=menu_recent, label='Open Recent') for f in recent_files: menu_recent.add_command(label=os.path.basename(f), command=lambda f=f: openFile(f))