Major update of all demo programs to use new PEP8 bindings, etc

This commit is contained in:
PySimpleGUI 2019-10-23 16:10:03 -04:00
parent 3f7c87c562
commit 7f52778bcc
307 changed files with 19546 additions and 3297 deletions

View file

@ -0,0 +1,15 @@
import PySimpleGUI as sg
"""
Oh yes, the classic "Hello World". The problem is that you
can do it so many ways using PySimpleGUI
"""
sg.PopupNoButtons('Hello World') # the single line
sg.Window('Hello world', [[sg.Text('Hello World')]]).Read() # single line using a real window
# This is a "Traditional" PySimpleGUI window code. First make a layout, then a window, the read it
layout = [[sg.Text('Hello World')]]
window = sg.Window('Hello world', layout)
event, values = window.Read()