Answered step by step
Verified Expert Solution
Link Copied!

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.

image text in transcribed

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.mainloop

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Sams Teach Yourself Beginning Databases In 24 Hours

Authors: Ryan Stephens, Ron Plew

1st Edition

067232492X, 978-0672324925

More Books

Students also viewed these Databases questions

Question

Did you follow BANGPP design checklist to review the layout?

Answered: 1 week ago

Question

3. Would you say that effective teamwork saved their lives?

Answered: 1 week ago