From d8ef1afd8c8dfa5462878e606c75b5a4eadc9b64 Mon Sep 17 00:00:00 2001 From: DennisEckerskorn Date: Thu, 3 Oct 2024 19:20:20 +0200 Subject: [PATCH] Upload ej03 --- ej03.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 ej03.py diff --git a/ej03.py b/ej03.py new file mode 100644 index 0000000..9eb3a4a --- /dev/null +++ b/ej03.py @@ -0,0 +1,7 @@ +import subprocess +try: + subprocess.run(['Notepad.exe',]) + subprocess.run(['c:/windows/notepad.exe',]) + subprocess.run(['Notepad.exe','texto.txt']) +except subprocess.CalledProcessError as e: + print(e.output) \ No newline at end of file