First, we'll have to import the Menu class from tkinter. Add the following line of code to the top of the Python module, where the import statements live:
In line 119, we are calling the constructor of the imported Menu module class and pass in our main GUI instance, win. We save an instance of the Menu object in the menu_bar variable. In line 120, we configure our ...