From 2340b1e82bc2c060c94ada6200f435e7d26f51d2 Mon Sep 17 00:00:00 2001 From: MikeTheWatchGuy Date: Sat, 9 Mar 2019 15:09:13 -0500 Subject: [PATCH] Removed comment code that fails in 2.7 --- DemoPrograms/Demo_Multithreaded_Queued.py | 2 +- PySimpleGUI.py | 22 +++++++++------------- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/DemoPrograms/Demo_Multithreaded_Queued.py b/DemoPrograms/Demo_Multithreaded_Queued.py index 0c834201..9ea968e4 100644 --- a/DemoPrograms/Demo_Multithreaded_Queued.py +++ b/DemoPrograms/Demo_Multithreaded_Queued.py @@ -81,7 +81,7 @@ def the_gui(gui_queue): window = sg.Window('Multithreaded Window').Layout(layout) # --------------------- EVENT LOOP --------------------- while True: - event, values = window.Read(timeout=100) # wait for up to 100 ms for a GUI event + event, values = window.Read(timeout=100) # wait for up to 100 ms for a GUI event from user if event is None or event == 'Exit': break #--------------- Loop through all messages coming in from threads --------------- diff --git a/PySimpleGUI.py b/PySimpleGUI.py index 8155cb76..a2c64692 100644 --- a/PySimpleGUI.py +++ b/PySimpleGUI.py @@ -4788,19 +4788,15 @@ else: # My crappy tkinter code starts here -# ░░░░░░░░░░░█▀▀░░█░░░░░░ -# ░░░░░░▄▀▀▀▀░░░░░█▄▄░░░░ -# ░░░░░░█░█░░░░░░░░░░▐░░░ -# ░░░░░░▐▐░░░░░░░░░▄░▐░░░ -# ░░░░░░█░░░░░░░░▄▀▀░▐░░░ -# ░░░░▄▀░░░░░░░░▐░▄▄▀░░░░ -# ░░▄▀░░░▐░░░░░█▄▀░▐░░░░░ -# ░░█░░░▐░░░░░░░░▄░█░░░░░ -# ░░░█▄░░▀▄░░░░▄▀▐░█░░░░░ -# ░░░█▐▀▀▀░▀▀▀▀░░▐░█░░░░░ -# ░░▐█▐▄░░▀░░░░░░▐░█▄▄░░░ -# ░░░▀▀▄░░░░░░░░▄▐▄▄▄▀░░░ -# ░░░░░░░░░░░░░░░░░░░░░░░ +""" + ) + ( + , + ___)\ + (_____) + (_______) + +""" # ======================== TK CODE STARTS HERE ========================================= #