Created
September 28, 2020 09:46
-
-
Save sariths/d4edd138c7d86dd1fd45025f6d157b5b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import PySimpleGUI as sg | |
layout = [[sg.Text("Channel ID")], | |
[sg.InputText(key="url")], | |
[sg.Text("Storage location")], | |
[sg.InputText(default_text=r"C:\Users\Sarith\Desktop\music", key="loc")], | |
[sg.Checkbox("Include uploads", key="includeUploads", default=True)], | |
[sg.Checkbox("Return videos uploaded by channel only", key="channelUploadsOnly", | |
default=True)], | |
[sg.Checkbox("Combine unlisted videos into a single list", | |
key="combineUnlisted", default=True)], | |
[sg.Checkbox("Ignore videos that are already in uploads", | |
key="ignoreVideosAlreadyInUploads", default=True)], | |
[sg.Submit(), sg.Cancel()]] | |
window = sg.Window('Search Params', auto_size_text=True, | |
default_element_size=(40, 1)).Layout(layout) | |
event, values = window.Read() | |
window.Close() | |
print (values) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment