From 6324e867c079b0d444830f47dd50846fbdff3a6c Mon Sep 17 00:00:00 2001 From: Thylacine Date: Wed, 3 Jul 2024 11:47:47 +1000 Subject: [PATCH] Made the python file open a file and print contents --- Patcher.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Patcher.py b/Patcher.py index e69de29..13f5d2c 100644 --- a/Patcher.py +++ b/Patcher.py @@ -0,0 +1,8 @@ +import os +scriptPath = input("What patch file do you want to run?") +script = open(scriptPath, "r") + +for line in script: + print(line) + +script.close() \ No newline at end of file