コード例 #1
0
ファイル: guiClass.py プロジェクト: zxw3213/Video-Downloader
	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()
コード例 #2
0
ファイル: guiClass.py プロジェクト: ShadyZOZ/Video-Downloader
    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()