79099565

Date: 2024-10-17 19:23:03
Score: 2
Natty:
Report link

pip install custom package to /tmp/ and add to path

subprocess.call('pip install requests -t /tmp/ --no-cache-dir'.split(), stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) sys.path.insert(1, '/tmp/') import requests

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Craig Anderson