+ 1
What are advantages of Python over PHP in the domain of web development?
1 Answer
+ 3
Unlike PHP, which has web development features built directly into the core language, Python's web development capabilites are provided by add-on modules. As a result, Python provides a more flexible base for web development.
Another difference is that PHP is embedded in the web server, whereas Python web applications can either be embedded in the web server like PHP or run in a separate process.
There is a great comparison wiki here: https://wiki.python.org/moin/PythonVsPhp