4 ms·
This is why you shouldn't run Python in your downloads directory: python3 -m http.server 8000 Concepts of "app" have changed and superstitious ritual has
by m3047 4y ago
This is why you shouldn't run Python in your downloads directory:
python3 -m http.server 8000
Concepts of "app" have changed and superstitious ritual has built up around the sacrament of deployment.
- dec0dedab0de 4y agoIf you're running malicious code it doesn't matter which directory you're running it from. And I hope noone is using http.server to deploy their python webapps. the documentation even has a warning right at the top https://docs.python.org/3/library/http.server.html https://docs.python.org/3/library/http.server.html