diff --git a/importing.py b/importing.py index 6e63394..9e133c8 100644 --- a/importing.py +++ b/importing.py @@ -3,4 +3,9 @@ try: import numpy as np except ImportError: __import__("pip").main(["install", "numpy"]) - import numpy as np \ No newline at end of file + 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) \ No newline at end of file