From 79ff10e8cded4a77692333d1d38b932635227625 Mon Sep 17 00:00:00 2001 From: Wannes-Sys Date: Sun, 11 Jun 2023 22:19:57 +0000 Subject: [PATCH] Add 'importing.py' --- importing.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 importing.py diff --git a/importing.py b/importing.py new file mode 100644 index 0000000..ae2c731 --- /dev/null +++ b/importing.py @@ -0,0 +1,6 @@ +# note that running this file is gonna install numpy on you computer +try: + import numpy as np +except ImportError: + __import__("pip").main(["install", "numpy"]) + import numpy as np \ No newline at end of file