Advertisement
Guest User

Untitled

a guest
Sep 17th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. import sys
  2. import subprocess
  3.  
  4. def install(package):
  5. subprocess.call([sys.executable, "-m", "pip", "install", package])
  6.  
  7. print('installing redis')
  8. install('redis')
  9.  
  10. subprocess.call([sys.executable, "/scripts/run_script.py"])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement