3 ms·
Yeah, I was shocked when, coming from PHP, I realized that in Python, in order to serve a website, you have to start and maintain an extra server process.
by leobg 2y ago
Yeah, I was shocked when, coming from PHP, I realized that in Python, in order to serve a website, you have to start and maintain an extra server process.
- motogpjimbo 2y agoDon't forget deploying updates by either (a) stopping your Python application and then restarting it, hoping your users are not too badly inconvenienced in the interim, or (b) rigging together some kind of blue-green deployment setup. Meanwhile, the PHP developer runs rsync and the deployment is done.
- notatoad 2y agoyou don't have to - apache will execute your python cgi scripts just as happily as it will execute your php cgi scripts. it's just that python developers figured out that having options other than cgi, and being freed from the rigid directory structures is really nice.