Moved all demo programs into subfolder
This commit is contained in:
parent
a294d0a347
commit
1881bd7126
107 changed files with 51 additions and 144 deletions
11
DemoPrograms/Demo_YouTube_Intro.py
Normal file
11
DemoPrograms/Demo_YouTube_Intro.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
import PySimpleGUI as sg
|
||||
|
||||
layout = [[sg.Text('What is your name?')],
|
||||
[sg.InputText()],
|
||||
[sg.Button('Ok')]]
|
||||
|
||||
window = sg.Window('Title of Window').Layout(layout)
|
||||
|
||||
event, values = window.Read()
|
||||
|
||||
sg.Popup('Hello {}'.format(values[0]))
|
Loading…
Add table
Add a link
Reference in a new issue