Tkinter scrollbar for frame

My objective is to add a vertical scroll bar to a frame which has several labels in it. The scroll bar should automatically enabled as soon as the labels inside the frame exceed the height of the frame. After searching through, I found this useful post. Based on that post I understand that in order to achieve what i want, (correct me if I am wrong, I am a beginner) I have to create a Frame first, then create a Canvas inside that frame and stick the scroll bar to that frame as well. After that, create another frame and put it inside the canvas as a window object. So, I finally come up with this:

Nested List Indices

I have experienced some problem by using a nested list in Python in the code shown bleow. Basically, I have a 2D list contains all 0 values, I want to update the list value in a loop. However, Python does not produce the result I want. Is there something that I misunderstand about range() and … Read more