def __download (self) : self.FPC = fileProcesserClass.FileProcesser() if len(self.fileList) > 0 : self.dlZone.grid_forget() self.dlStat = Tkinter.StringVar() self.dlZone = Tkinter.Label(self.mainFoot, textvariable = self.dlStat, width = 30, anchor = 'center') self.dlZone.grid(row = 1, column = 0, sticky = 'ew') self.FPC.download(self.fileList) self.__dlZoneUpdate()
def __download(self): self.FPC = fileProcesserClass.FileProcesser() if len(self.fileList) > 0: self.dlZone.grid_forget() self.dlStat = Tkinter.StringVar() self.dlZone = Tkinter.Label(self.mainFoot, textvariable=self.dlStat, width=30, anchor='center') self.dlZone.grid(row=1, column=0, sticky='ew') startfrom = int(self.startFromInput.get()) endWith = int(self.endInput.get()) self.FPC.download(self.fileList, startfrom - 1, endWith) self.time = time.clock() self.__dlZoneUpdate()