From 33877df64265a3423f74fc70640ee0ce111c13f5 Mon Sep 17 00:00:00 2001 From: Tipragot Date: Sun, 7 Jan 2024 09:23:19 +0000 Subject: [PATCH] Ajout d'un fichier pour lancer le jeu facilement (#13) Reviewed-on: https://git.tipragot.fr/raphael/ponguito/pulls/13 Reviewed-by: Corentin Co-authored-by: Tipragot Co-committed-by: Tipragot --- launch.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 launch.py diff --git a/launch.py b/launch.py new file mode 100644 index 0000000..93c0910 --- /dev/null +++ b/launch.py @@ -0,0 +1,6 @@ +import subprocess as sp +import os + +folder_path = __file__.replace("\\", "/")[:-10] +os.chdir(folder_path) +sp.call(f'python "{folder_path}/src/main.py"')