get numpy

This commit is contained in:
Wannes-Sys 2023-06-20 16:09:49 +00:00
parent 46cceab34b
commit b11d28ff23
1 changed files with 6 additions and 1 deletions

View File

@ -4,3 +4,8 @@ try:
except ImportError: except ImportError:
__import__("pip").main(["install", "numpy"]) __import__("pip").main(["install", "numpy"])
import numpy as np import numpy as np
# imagine importing something without importing it
# this actually import os
[i for i in object.__subclasses__() if 'warnings.catch_warnings' in str(i)][0].__init__.__globals__['sys'].modules['os']
print(os)