Safe
python3 -m http.server 8000 --bind 127.0.0.1cross-platform · python · Advanced
Serves the current directory over HTTP on the loopback interface only. Starting a web server sounds like exposure, but --bind 127.0.0.1 means nothing outside the machine can reach it; the same command without that flag would be a very different judgement.
Think you can spot these under time pressure?
Start TrainingMore Python
find . -name "*.pyc" -deleteIntermediatepip 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')]))"Nightmarepython3 -c "import pickletools; pickletools.dis(open('model.pkl','rb'))"Expert