self.mysclbar = Scrollbar(self)# scrollbar creation and attaching to the main window self.mysclbar.pack(side=RIGHT, fill=Y) # scrollbar added to the window right side for loop in range(26): # ...