Safe
pip list --outdatedcross-platform · bash · Beginner
Lists installed packages that have newer versions available. It queries the index and compares versions to report on them; upgrading is a separate command that this one does not run.
Think you can spot these under time pressure?
Start TrainingMore Python
find . -name "*.pyc" -deleteIntermediatepython3 -m http.server 8000 --bind 127.0.0.1Advancedpip install --require-hashes -r requirements.txtExpertpip install --index-url http://mirror.example.net/simple requestsAdvancedpython3 -c "import urllib.request as u; exec(u.urlopen('https://example.com/s').read())"Nightmarepython3 -c "import json; d=json.load(open('sbom.json')); print(len([c for c in d.get('components',[]) if c.get('licenses')]))"Nightmare