From 1ad6a9e436cb5e9c3f1e33d9bd16e79549b0e9d9 Mon Sep 17 00:00:00 2001 From: Joshua Pickard Date: Fri, 28 Apr 2023 18:07:53 +0000 Subject: [PATCH] Update 'start.py' --- start.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/start.py b/start.py index 0eef8cd..00fd778 100644 --- a/start.py +++ b/start.py @@ -7,7 +7,7 @@ import requests import fileinput import zipfile from pathlib import Path -import glob, os, shutil +import glob, shutil, time p = Path('.') @@ -20,7 +20,6 @@ def buttonclick(): file = open('urls.txt', 'w') file.write(listofurls) file.close() - # DOWNLOAD ALL ZIPS for lines in fileinput.FileInput("urls.txt"): print(lines) @@ -62,7 +61,7 @@ customtkinter.set_default_color_theme("dark-blue") root = customtkinter.CTk() # root.iconbitmap('c:/file.ico') -root.geometry("540x450") +root.geometry("510x300") root.title('LCCC Viapath Downloader') frame = customtkinter.CTkFrame(master=root) @@ -75,7 +74,6 @@ urllabel.pack(pady=1, padx=1) urltextbox = customtkinter.CTkTextbox(master=frame, wrap='word', height=150, width=400) urltextbox.pack(pady=10, padx=10) - # BUTTON wgetbutton = customtkinter.CTkButton(master=frame, width=40, height=40, text="Get Videos", command=buttonclick) wgetbutton.pack() @@ -84,6 +82,7 @@ wgetbutton.pack() progressBar = customtkinter.CTkProgressBar(master=frame, mode='determinate') progressBar.pack(padx=10, pady=10) progressBar.set(0) - +# labelProg = customtkinter.CTkLabel(master=frame, text="0%") +# labelProg.pack() root.mainloop() \ No newline at end of file