From 8d7f931c5c83f17aa767c6a037f0a5bc3d8045af Mon Sep 17 00:00:00 2001 From: Austindgkffg <174443818+Austindgkffg@users.noreply.github.com> Date: Sat, 28 Jun 2025 04:35:37 -0400 Subject: [PATCH 1/2] =?UTF-8?q?Update=20README.md=20weather=20=E2=98=81?= =?UTF-8?q?=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index ec68160..b301a32 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +![function-calling-diagram-steps](https://github.com/user-attachments/assets/6bccdd11-a87e-4b79-85d9-1a43e11005ea) TerminalPython ============== From 147bfcb8e83c1cab370ed5a838937a04b9dc1f5f Mon Sep 17 00:00:00 2001 From: Austindgkffg <174443818+Austindgkffg@users.noreply.github.com> Date: Sat, 28 Jun 2025 08:58:49 +0000 Subject: [PATCH 2/2] Replace raw_input() with input() for Python 3 compatibility --- TerminalPython.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/TerminalPython.py b/TerminalPython.py index 4edba19..953212d 100644 --- a/TerminalPython.py +++ b/TerminalPython.py @@ -60,25 +60,25 @@ def getch(): readser = 0 print(hello.rstrip()) print("Type in a 2 digit Bank Address - Press Enter") - writedata = raw_input() + writedata = input() if len(writedata) == 2: ser.write(writedata) readser = 1 else: print("Please re-enter the 2 digit hex Bank Address and press enter") - writedata = raw_input() + writedata = input() readser = 1 elif hello.endswith(':'): readser = 0 print(hello.rstrip()) print("Type in a 4 digit Address - Press Enter") - writedata = raw_input() + writedata = input() if len(writedata) == 4: ser.write(writedata) readser = 1 else: print("Please re-enter the 4 digit hex address and press enter") - writedata = raw_input() + writedata = input() readser = 1 else: print(hello.rstrip())