6 ms·
Isn't it the same for Python?
by mg 5y ago
Isn't it the same for Python?
- loloquwowndueo 5y agoDeploying changes to a server with python tends to be more involved than just plonking a file via ftp. Even best-case, you usually have to restart a process or something (gunicorn).
- tomnipotent 5y agoIn the sense that subsequent requests will see the changed code, yes (unless byte code cache is involved). OP is likely referring to the mod_php convention of directly executing PHP scripts by filename/URL while Python/WSGI needs a single entry point. Your directory structure becomes your routing logic.
- bemmu 5y agoI use Python, but miss being able to just a .php file in a dir and have it work. Now to make some small site, I instead end up setting up some WSGI server and doing nginx config to get it visible, upstart config to make it start at boot, and then invariably forget how it’s set up after a few months pass.
- foobarbaz33 5y agonope