From 10bb2f52d036f81f8a7540232abf085ec37a8925 Mon Sep 17 00:00:00 2001 From: tauseef-a <40712942+tauseef-a@users.noreply.github.com> Date: Tue, 28 Sep 2021 15:23:15 +0530 Subject: [PATCH 1/2] Update hello_world.py --- scripts/hello_world.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/hello_world.py b/scripts/hello_world.py index 48e7373..ac309ea 100644 --- a/scripts/hello_world.py +++ b/scripts/hello_world.py @@ -23,6 +23,7 @@ def Main(): myThread.start() # Starting a thread fp = open("def.txt") fp.close() + i = 2/0 if __name__ == '__main__': From 7cc0c111bbd6eb7ac54ae3dea4183152bdacc5e3 Mon Sep 17 00:00:00 2001 From: tauseef-a <40712942+tauseef-a@users.noreply.github.com> Date: Tue, 28 Sep 2021 15:24:24 +0530 Subject: [PATCH 2/2] Update hello_world.py added close commecnted --- scripts/hello_world.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/hello_world.py b/scripts/hello_world.py index ac309ea..c4b6597 100644 --- a/scripts/hello_world.py +++ b/scripts/hello_world.py @@ -22,7 +22,7 @@ def Main(): myThread = threading.Thread(target=MyFunction) myThread.start() # Starting a thread fp = open("def.txt") - fp.close() + #fp.close() i = 2/0