Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Ignoring the rest of my python code, could someone please help me fix my LabelFrames :) they don't work at all. Thanks. the-window = Tk()
Ignoring the rest of my python code, could someone please help me fix my LabelFrames :) they don't work at all.
Thanks.
the-window = Tk() the_window.title('Top 10') Top-10 Canvas(the-window, width 700, = height500, bg'white) img - PhotoImage(file-"dog.gif") Label(the_window, image-img).grid(row0, column0, rowspan6) webpage_urls [C" https://www.google.com/",""J, ["",""], ["",""], C"",""], C"",""]] def preview_list(chosen_list): webpage_url webpage_urls[chosen list [0]] [chosen_list[1]] RadioButtons[0] .config(text webpage_url) def export list(chosenlist): pass def regex(: pass Titles-["Top 10 Best Movies of 2017", "Top 10 Songs of 2017", "Top 10 Nintendo Switch Games 2017", "Top 10 TV Shows Australia 26 RadioButtons Labe Frames L list_displayed [0,0] for i in range (5): LabelFrames.append(Label Frame(the-window, relief= 'groove', font = ('Arial', 18 ), borderwidth RadioButtons.append(Radiobutton(text-' Previous', variable-list-displayed, value-[i,0])) RadioButtons.append(Radiobutton(textCurrent', variablelist.displayed, value - [i,1])) LabelFrame s [1].grid(row i, column = 1, columnspan 2) RadioButtons[2*1].gridCrow = i, column = 1) RadioButtons [2*i+1].grid(row - i, column 2) = 2, text = Tit1es[i])) Button(the-window, 'Preview', font ('Arial', 20), takefocus False, command = preview-list(list-displayed)) text = grid(row = 5, column = 1) text = grid(row = 5, column = 2) Button(the_window, ' Export', font ("Arial', 20), takefocus False, command export-list(list-displayed)) = the_window.mainloopStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started