Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import sys
- import subprocess
- def install(package):
- subprocess.call([sys.executable, "-m", "pip", "install", package])
- print('installing redis')
- install('redis')
- subprocess.call([sys.executable, "/scripts/run_script.py"])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement