diff --git a/Demo_Button_Click.py b/Demo_Button_Click.py index 9b2596eb..e930d076 100644 --- a/Demo_Button_Click.py +++ b/Demo_Button_Click.py @@ -5,6 +5,9 @@ if sys.version_info[0] >= 3: else: import PySimpleGUI27 as sg +if not sys.platform.startswith('win'): + sg.PopupError('Sorry, you gotta be on Windows') + sys.exit() import winsound