From 1272314ff7a8a69efef1fcc3ec31f65d5ba24b58 Mon Sep 17 00:00:00 2001 From: CUP <52665339+i-D3V310P35@users.noreply.github.com> Date: Sun, 20 Jun 2021 20:10:16 +0530 Subject: [PATCH] Added a method to clear a output screen before run There was an issue in this IDE. After clicking on run, the previous output was also displayed. Now, by using delete method this whenever the run is clicked, the previous output will be cleared and new one will be displayed. Thank You for reading! --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index dd62585..9f8a190 100644 --- a/main.py +++ b/main.py @@ -33,6 +33,7 @@ def save_as(): def run(): + code_output.delete(1.0, END) if file_path == '': save_prompt = Toplevel() text = Label(save_prompt, text='Please save your code')