3 ms·
My favorite way to pass small scripts to non software colleagues: try: import package except ImportError: import pip print("Instal
by nomel 2y ago
My favorite way to pass small scripts to non software colleagues:
try:
import package
except ImportError:
import pip
print("Installing package...")
pip.main(['install', 'package']
import package
:D