From cc23a9df5b3af2817c1eaaa2836a8ccd7e2bce6c Mon Sep 17 00:00:00 2001 From: Joe Stanley Date: Thu, 10 Nov 2022 17:54:49 -0800 Subject: [PATCH] added a for loop --- main.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/main.py b/main.py index 7773f1f..346328e 100644 --- a/main.py +++ b/main.py @@ -130,11 +130,13 @@ def main(): window["Name"].update(row[3]) elif event == "Check Out": - SN = window["Serial Number"].get() - G = window["Grade"].get() - N = window["Name"].get() - Table = window["table"].get() - print(Table) + SN = window["Serial Number"].get() + G = window["Grade"].get() + N = window["Name"].get() + Table = window["table"].get() + print(Table) + for row in Table: + # Finish up by removing from the screen