def menu_four_sub_two(self,i):
     '''It creates buttons for the available month files 
     from the current year directory '''
     self.MenufourYearsContainer.destroy()
     self.ListOfFiles = directory.fileall(months,PATH + '\\' + i)
     length = len(self.ListOfFiles)
     Label(self.MainMenuContainer, text='Havi Adatok ', font=12,
           padx=10, pady=10).pack()
     for i in range(0, length):
         self.Buttonpointer(i)
     Button(self.MainMenuContainer, text='Vissza', height=1,
            width=20, command=self.quit_menufour).pack()
    def menufour(self):
        '''This function checks if the The Year is available 
        in the current folder'''
        Label(
            self.MenufourYearsContainer,
            text='Éves Adatok ', font=12,
			padx=10, pady=10).pack(side=TOP)
        self.ListOfFiles = directory.fileall(Years,PATH)
        length = len(self.ListOfFiles)
        for i in range(0, length):
            self.menu_four_sub_one(i)
        Button(self.MenufourYearsContainer, text='Vissza',
            height=1, width=20, 
            command=self.quit_menufour).pack()
 def menufour(self):
     '''This function checks if the The Year is available 
     in the current folder'''
     Label(self.MenufourYearsContainer,
           text='Éves Adatok ',
           font=12,
           padx=10,
           pady=10).pack(side=TOP)
     self.ListOfFiles = directory.fileall(Years, PATH)
     length = len(self.ListOfFiles)
     for i in range(0, length):
         self.menu_four_sub_one(i)
     Button(self.MenufourYearsContainer,
            text='Vissza',
            height=1,
            width=20,
            command=self.quit_menufour).pack()
 def menu_four_sub_two(self, i):
     '''It creates buttons for the available month files 
     from the current year directory '''
     self.MenufourYearsContainer.destroy()
     self.ListOfFiles = directory.fileall(months, PATH + '\\' + i)
     length = len(self.ListOfFiles)
     Label(self.MainMenuContainer,
           text='Havi Adatok ',
           font=12,
           padx=10,
           pady=10).pack()
     for i in range(0, length):
         self.Buttonpointer(i)
     Button(self.MainMenuContainer,
            text='Vissza',
            height=1,
            width=20,
            command=self.quit_menufour).pack()